swapVideoSlots
swapVideoSlots
Description: swap video slots in the layout.
This command does not apply to the video window taken outside the layout and to the self-view in overlay mode.
Request example:
{
"method" : "swapVideoSlots",
"requestId" : "1",
"callId1" : "user@some.server/InstancePart",
"callId2" : "user2@some.server/InstancePart"
}Response example:
{
"method" : "swapVideoSlots",
"requestId" : "1",
"result" : true
}Parameter description:
callId1- a unique identifier of the first video slot in the video layout that needs to be changed. It is recommended to use those obtained from the methods: videoMatrixChanged, getVideoMatrix. Applicability:PeerId - not supported
CallId - not supported
InstanceId - supported
callId2- the unique identifier of the second video slot in the video layout that needs to be changed. It is recommended to use those obtained from the methods: videoMatrixChanged, getVideoMatrix. Applicability:PeerId - not supported
CallId - not supported
InstanceId - supported
requestId- a unique request identifier. You can find more details about it here.
See also: