features

Gives you access to the current available features inside the room - e.g. chat or screenshare. Also the featureSetUpdated event is being emitted if the room state changes at any point in time.

//Prints a boolean value if chat feature is available or not
console.log('Chat feature status:', sambaFrame.features['chat']);

You can also use the featureEnabled method to check if a feature is available.

Here is a full list of the possible features:

chat, endSession, fullScreen, languageSelection, minimizeOwnTile,
participantsList, pin, screenshare, recordings, virtualBackgrounds,
raiseHand, invite

Last updated