Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Setting border and corner attributes for compositing in Amazon Chime SDK meetings

Focus mode
Setting border and corner attributes for compositing in Amazon Chime SDK meetings - Amazon Chime SDK

As desired, you can use the VideoAttribute parameter to specify border and corner settings for your video tiles. You can specify colors, widths, and rounded corners. You can also specify a highlight color, and the border changes to that color when someone speaks.

Your attribute settings apply to all layouts, regardless of content sharing.

The following image shows a video tile with a border color and corner radius applied.

Image of a screen share and video tile with a red border and rounded corners.

The following example shows how to use each attribute. In this case, video tiles have rounded corners with a five-pixel radius. The tiles have a green border, also five pixels wide. When the speaker talks, the HighlightColor attribute changes the border color to red.

{ "CompositedVideo":{ "Layout":"GridView", "Resolution":"FHD", "GridViewConfiguration":{ "ContentShareLayout":"ActiveSpeakerOnly", "ActiveSpeakerOnlyConfiguration":{ "ActiveSpeakerPosition":"TopRight" } "VideoAttribute": { "CornerRadius" : 10, "BorderColor" : "Green", "HighlightColor" : "Red", "BorderThickness": 5 }, } } }
VideoAttribute

Description – Specifies the settings for video tile borders and rounded corners

Allowed valuesBorderColor | BorderThickness | CornerRadius | HighlightColor

Required – No

VideoAttribute.BorderColor

Description – Defines the border color for all video tiles

Allowed values – Color names, such as Red, Green, or Blue

Required – No

VideoAttribute.BorderThickness

Description – Defines the border thickness in pixels for all video tiles

Type – Integer

Allowed values – 1–20

Required – No

VideoAttribute.CornerRadius

Description – Defines the corner radius in pixels for all video tiles.

Type – Integer

Allowed values – 1–20

Required – No

VideoAttribute.HighlightColor

Description – Defines a border color that appears when a presenter or speaker talks

Allowed values – Color names, such as Red, Green, or Blue

Required – No

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.