Helpers

The following methods used to get the information about user audio/video mute/unmute status, etc... So you don't need to store these information in the client side.

Get User Audio mute/unmute state#

Get a user audio track mute/unmute state by providing the user JID into isRemoteAudioMuted method. The response will be the boolean based on mute/unmute state.

SDK.isRemoteAudioMuted('USER_JID');

Sample Response:#

// Response Structure
BOOLEAN
// true - muted
// false - unmuted

Request Params#

ParamDescriptionTypeRequired
USER_JIDUser JIDStringtrue

Get User Video mute/unmute state#

Get a user video track mute/unmute state by providing the user JID into isRemoteVideoMuted method. The response will be the boolean based on mute/unmute state.

SDK.isRemoteVideoMuted('USER_JID');

Sample Response:#

// Response Structure
BOOLEAN
// true - muted
// false - unmuted

Request Params#

ParamDescriptionTypeRequired
USER_JIDUser JIDStringtrue