# 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

Name Description
sPeerId The 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
bOn The 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

Name Description
requestId A unique request identifier
result A flag indicating whether the request was successful

See also

Last Updated: 09/12/2025