# 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 identifier of the user (TrueConf ID). It is recommended to use those that were obtained from the methods: newParticipantInConference, getConferenceParticipants. Applicability:

  • mainCamera — Video stream broadcast flag. It can be true (main video stream) and false (content video stream).

  • requestId - unique request identifier. More details can be found here

See also: