Only a Moderator has the authority to mute/unmute audio or video of any other participant in the room. The following APIs are used to perform this operation:
EnxRoom.hardMuteUserAudio(clientId, Callback)
EnxRoom.hardMuteUserVideo(clientId, Callback)
EnxRoom.hardUnmuteUserAudio(clientId, Callback)
EnxRoom.hardUnmuteUserVideo(clientId, Callback)
Where clientID
is the participant’s Id that needs to be muted/unmuted.
Refer to the Hard Mute/Unmute API specification in more detail here.