Skip to content

one-view-layouts-public-safety-v2

Eyeson One View API

Merge all sources into a single video stream and achieve complete sync.

salesforce
Eyeson for Salesforce
Video meetings inside Salesforce, guided workflows & compliant document sharing.
record
Eyeson Stream Recorder
An unmatched solution for capturing streams across any sector.
a mockup of a Eyeson video call with a customized red background color and two people in it
Iryna SydorchukFebruary 28, 20241 min read

How to Set a Custom Background Color on Eyeson Video Call

Want to add a personal touch to your virtual meetings? Now you can spice up your meeting video background color with just a few lines of code. This option is only available for the Eyeson API users.

No Background Color for Ordinary Calls

Normal calls with a custom layout cannot have a background color:

How to Set a Custom Background Color 1

And mostly look like this:

How to Set a Custom Background Color 2

 

Get Started with Your API Key

But if you start a call with your API Key you have the option. The option is only available on the meeting start request, see API room reference.

a code example of how to start a call with your API key to change your background color

 

The response looks like this and contains the background color set and used in the meeting. It can not be changed during the meeting.

a code example of the response when you start your call with an API key

 

Get the Access Key and Set the Layout

Here’s how you set the layout:

a code example of how to set the layout

This script sends a POST request to the Eyeson API to customize the layout of a meeting room, including parameters such as the layout type, whether to display participant names, and the arrangement of video feeds within the room.

 

The Result

After executing the provided script, the meeting room's background color will be updated to the specified hex value. Participants joining the meeting will now experience the new background color:

 

a mockup of a Eyeson video call with a customized red background color and two people in it

For more details, refer to our Tech blog article about background customization

 

Stay in the Loop

Got a question or have any ideas for the next articles? Let us know on GitHub. Subscribe to our Tech Blog for more interesting articles.

RELATED ARTICLES