I need to mute all other connected use on single click
I am using openVidu javascript liberty
Send a broadcast signal to all the participants you want to mute (you can do it from any participant of the session if a moderator must trigger the action, or from your backend using REST API) and when receiving it, call Publisher.publishAudio(false)
@pabloFuente How can I mute particular user?
As Pablo said, use the signal to achieve this goal, but you can specify the connectionId. You can check the documentation about it.
In server-side API: to(optional array of strings): list of connection identifiers to which you want to send the signal. If this property is not included or is an empty array, the signal will be sent to all participants of the session
In client-side: session.signal, parameter to
Regards