Skip to main content

Overlay Image

This feature is as versatile as Background Image Feature. You can cover up unwanted areas of the video stream with transparent images.

caution

You can only use images smaller than or equal to 1280x720 in widescreen mode or 1280x960 in fullscreen mode.

info

Smaller images are positioned top left of the video stream as overlay.

With these snippets the visuals of the background image example is improved.

export ACCESS_KEY=123...

curl -X POST \
-d "url=https://docs.eyeson.com/img/examples/ol_pdf.png" \
-d "z-index=1" \
"https://api.eyeson.team/rooms/$ACCESS_KEY/layers"
custom layout with overlay

Figure 1. The result may look like this.

As you can see (Figure 1) the frame of the participants are rounded and additional data is added to the video stream. You can also use the same layout with another combination (Figure 2). The first participant is moved up a rank in the spots and the overlay content is adjusted.

custom layout with overlay

Figure 2. Second custom layout and overlay design

Deleting the Overlay Image

If you don't want the overlay image to be shown anymore, try using these snippets

curl -X DELETE "https://api.eyeson.team/rooms/$ACCESS_KEY/layers/1"