turnRemoteCamera

TrueConf7/5/26Less than 1 minute

turnRemoteCamera

Description

Enable or disable the video capture device of a participant in a group conference

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

void turnRemoteCamera(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 turned on or off. It can be true or false

Response example

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

Response Parameters

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

See also

Last Updated: