# swapVideoSlots

Description

Swap video slots in the layout

void swapVideoSlots(string sCallId1, string sCallId2)

Parameters

Name Description
sCallId1 The 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
sCallId2 The 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

Name Description
requestId A unique request identifier
result A flag indicating whether the request was successful

See also

Last Updated: 09/12/2025