switchVideoFlow

TrueConf7/5/26Less than 1 minute

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

NameDescription
sCallIdThe unique user identifier (TrueConf ID). You should use those obtained from the methods: On_newParticipantInConference, getConferenceParticipants
bMainCameraVideo 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

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

See also

Last Updated: