# 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
| Name | Description |
|---|---|
| sPeerId | The unique identifier of a user TrueConf ID. It is recommended to use those obtained from the methods: On_newParticipantInConference, getConferenceParticipants |
| bOn | The 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
| Name | Description |
|---|---|
| requestId | A unique request identifier |
| result | A flag indicating whether the request was successful |
See also