# switchVideoFlow
Description
Switch the video stream from a conference participant, if he/she is sharing content in the second stream (e.g., Binary Floor Control Protocol)
void switchVideoFlow(string sCallId, bool bMainCamera)
Parameters
Name | Description |
---|---|
sCallId | The unique user identifier (TrueConf ID). You should use those obtained from the methods: On_newParticipantInConference, getConferenceParticipants |
bMainCamera | Video stream broadcast flag. It can be true (main video stream) and false (content video stream) |
Response example
{
"method" : "switchVideoFlow",
"requestId" : "1",
"result" : true
}
Response Parameters
Name | Description |
---|---|
requestId | A unique request identifier |
result | A flag indicating whether the request was successful |
See also