turnRemoteSpeaker

TrueConf7/5/26Less than 1 minute

turnRemoteSpeaker

Description

Enable/disable the audio playback device for a conference participant

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

void turnRemoteSpeaker(string sPeerId, bool bOn)

Parameters

NameDescription
sPeerIdThe unique identifier of a user with a TrueConf ID in the current group conference whose audio playback device needs to be turned on or off. It is recommended to use those obtained from the methods: On_newParticipantInConference, getConferenceParticipants
bOnThe flag indicating if it is necessary to enable or disable the device. It can be either true or false

Response example

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

Response Parameters

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

See also

Last Updated: