muteEveryone method
void
muteEveryone()
Mute everyone in the room. This will close the audio stream of all the remote peers who dont have admin permissions
NOTE: This will target all the audio stream in the room with the label "audio"
Implementation
void muteEveryone() {
if (!checkPermission(permissionTypeCheck: PermissionType.admin)) {
return;
}
socket.publish(Request_Request.closeStreamOfLabel, {
'label': 'audio',
});
}