Mutes a participant in a media session if the current member has the necessary permissions.
muteParticipants({ socket, coHostResponsibility: [{ name: "media", value: true }], participant: { id: "123", name: "John Doe", muted: false, islevel: "1" }, member: "currentMember", islevel: "2", showAlert: (alert) => console.log(alert.message), coHost: "coHostMember", roomName: "room1",}); Copy
muteParticipants({ socket, coHostResponsibility: [{ name: "media", value: true }], participant: { id: "123", name: "John Doe", muted: false, islevel: "1" }, member: "currentMember", islevel: "2", showAlert: (alert) => console.log(alert.message), coHost: "coHostMember", roomName: "room1",});
The options for muting participants.
Mutes a participant in a media session if the current member has the necessary permissions.
Example