swapVideoSlots

TrueConf7/5/26Less than 1 minute

swapVideoSlots

Description

Swap video slots in the layout

void swapVideoSlots(string sCallId1, string sCallId2)

Parameters

NameDescription
sCallId1The unique identifier of the first video slot in the layout that needs to be switched. Use the ones obtained from the methods: On_videoMatrixChanged, getVideoMatrix
sCallId2The unique identifier of the second video slot in the layout that needs to be switched. Use the ones obtained from the methods: On_videoMatrixChanged, getVideoMatrix

Response example

{
    "method" : "swapVideoSlots",
    "requestId" : "1",
    "result" : true
}

Response Parameters

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

See also

Last Updated: