Skip to main content
Choose how participants are displayed during a call. The SDK provides multiple layout options to suit different use cases like team meetings, presentations, or one-on-one calls.

Available Layouts

LayoutDescriptionBest For
TILEGrid layout with equally-sized tiles for all participantsTeam meetings, group discussions
SPOTLIGHTLarge view for the other participant, small tile for yourselfOne-on-one calls, presentations, webinars
SIDEBARMain speaker with participants in a sidebarInterviews, panel discussions

Set Initial Layout

Configure the layout when joining a session using SessionSettingsBuilder:

Change Layout During Call

Switch layouts dynamically during an active call using setLayout():
Each participant can choose their own layout independently. Changing your layout does not affect other participants.

Listen for Layout Changes

Monitor layout changes using LayoutListener:

Hide Layout Toggle Button

To prevent users from changing the layout, hide the layout toggle button in the call UI: