Layout
options_update
The options_update
event is triggered when one or more meeting configuration options have been updated. This event provides the current state of all meeting options, including any layout-related changes that have been applied.
{
type: 'options_update',
options: {
...
layout: 'auto' | 'custom',
layout_name: null | String,
layout_users: null | Array,
layout_map: null | Array,
show_names: true | false,
voice_activation: true | false,
...
},
}
set_layout
The set_layout
method allows you to configure the visual arrangement of participants in a meeting. You can either:
- Select from our collection of predefined layouts for common meeting scenarios
- Create a custom layout by defining your own positioning map
This gives you complete control over how participants are displayed during your video meetings.
eyeson.send({
type: 'set_layout',
params: {
layout: 'auto' | 'custom',
name: '',
users: [...], // list of userIds
map: JSON.stringify([...]), // optional
show_names: true | false, // optional, default: true
voice_activation: true | false, // optional, only if layout = auto
},
});