# 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.
Request example:
{
"method" : "turnRemoteSpeaker",
"requestId" : "1",
"peerId" : "user@some.server/InstanceId",
"on" : false
}
Response example:
{
"method" : "turnRemoteSpeaker",
"requestId" : "1",
"result" : true
}
Parameter description:
peerId
- unique user identifier TrueConf ID in the current group conference, whose sound playback device needs to be turned on or off. Use the ones obtained from the methods: newParticipantInConference, getConferenceParticipants. Applicability:PeerId - not supported.
CallId - not supported
InstanceId - supported.
on
— the flag indicating if it is necessary to enable or disable the device. It can be eithertrue
orfalse
requestId
- unique request identifier. More details can be found here
See also: