LayoutLayer
Position, size, and state of a single layer in a video call layout. Layers are emitted by call.layoutLayers$ and update whenever the server reflows the layout.
Properties
height
Layer height as a percentage (0–100) of the room canvas.
layer_index
Z-order index assigned by the media server.
member_id
ID of the member occupying this layer, if any.
playing_file
Whether a file (e.g. media playback) is currently rendered in this layer.
position
Named position slot for this layer (e.g. reserved-0). See VideoPosition.
reservation
Reservation name if this layer is reserved for a specific member.
visible
Whether the layer is currently visible.
width
Layer width as a percentage (0–100) of the room canvas.
x
Layer x-coordinate (top-left corner) as a percentage (0–100) of the room canvas width.
y
Layer y-coordinate (top-left corner) as a percentage (0–100) of the room canvas height.
z_index
Stacking order; higher values render on top.