# 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).
Request example:
{
"method" : "switchVideoFlow",
"requestId" : "1",
"callId" : "user@some.server/InstancePart",
"mainCamera" : false
}
Response example:
{
"method" : "switchVideoFlow",
"requestId" : "1",
"result" : true
}
Parameter description:
callId
- unique user identifier (TrueConf ID). You should use those obtained from the methods: newParticipantInConference, getConferenceParticipants. Applicability:PeerId - not supported
CallId - not supported
InstanceId - supported
mainCamera
— Video stream broadcast flag. It can betrue
(main video stream) andfalse
(content video stream).requestId
- a unique request identifier. You can learn more about it here.
See also: