changeLayoutMode()
changeLayoutMode(mode: 'tiled' | 'auto')
Changes the layout mode according to the provided param - "tiled" or "auto" (automatic).
//Changes the layout mode to automatic
sambaFrame.changeLayoutMode('auto');
//Changes the layout mode to tiled
sambaFrame.changeLayoutMode('tiled');
Sample use cases:
You may want to change the room layout mode on the fly during the call.
You may have developed a mode switcher outside the Samba iframe and want to control the layout inside the room.
Last updated