# changeVideoMatrixType
Description: change the layout.
If this command is used, all video slots will keep the indices of their positions.
Request example:
{
"method" : "changeVideoMatrixType",
"requestId" : "1",
"matrixType" : 3
}
Response example:
{
"method" : "changeVideoMatrixType",
"requestId" : "1",
"result" : true
}
Parameter description:
matrixType
— the new type of layout. The following values are possible:0
— Show only one window. If there are more windows in the list, the first one will be shown.1
— All windows are the same size.2
— One window is large (in the upper left corner), other smaller windows are placed around the large one.3
— One large window (in the center at the top), other smaller windows are placed at the bottom.4
— One window is large (in the left corner), other smaller windows are placed to the right of the large one.5
— One window is large (in the center at the top), other smaller windows are placed at the bottom and can overlap the larger one within reasonable limits.
requestId
- a unique request identifier. You can learn more about it here.
See also: