Skip to main content

How to Freeze Positioning

You can set the layout to "custom" mode, which allows you to assign specific users to defined spots. When using custom layout mode, Eyeson will not automatically fill empty spots with active participants. Any undefined spots will remain empty, showing only the background.

This provides additional flexibility when designing custom layouts.

export ACCESS_KEY=123...
export USER_ID1=123...

curl -X POST \
-d "users[]=" \
-d "users[]=$USER_ID1" \
-d "users[]=" \
-d "users[]=" \
-d "layout=custom" \
-d "name=four" \
"https://api.eyeson.team/rooms/$ACCESS_KEY/layout"

For the sake of clarity, there is a background image with the numbered video spots blended in.

Result for a position request Figure 1. The result may look like this.

Also four additional participants are added to the video call session after the layout change. But the video stream spots (Figure 2.) are not filled with active participants.

Custom mode layout for specific placement Figure 2. To visualise the invisible participants, here is an image of the same set up with an UI.