turnRemoteMic

TrueConf7/5/26Less than 1 minute

turnRemoteMic

Mute or unmute a participant’s audio capture during a group conference Description

The command can be executed only by the owner, operator, or moderator of the current group conference

void turnRemoteMic(string sPeerId, bool bOn)

Parameters

NameDescription
sPeerIdThe unique identifier of a user TrueConf ID. It is recommended to use those obtained from the methods: On_newParticipantInConference, getConferenceParticipants
bOnThe flag indicating if the device should be muted or unmuted. It can be true or false

Response example

{
    "method" : "turnRemoteMic",
    "requestId" : "1",
    "result" : true
}

Response Parameters

NameDescription
requestIdA unique request identifier
resultA flag indicating whether the request was successful

See also

Last Updated: