# 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
- 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: 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
- a unique request identifier. You can learn more about it here.
See also: