Skip to content

Composite Stream Video Layouts

adamrangs edited this page Aug 8, 2022 · 1 revision

Starting from version 2.5.0, The SDK supports three types of video layouts (Single, Filmstrip and Grid) for the group call.

    public enum VideoLayout {
        SINGLE, FILMSTRIP, GRID
    }

The single layout is to display only active speaker’s video in the remote video view. The filmstrip layout is that in addition to the active speaker’s video, other attendee thumbnail videos are displayed below as the filmstrip in the remote video view. The grid layout is that the videos of all participants are displayed in the remote video view with the same size grid.

    MediaOption option = MediaOption.audioVideo(local, remote)
    option.setLayout(MediaOption.VideoLayout.FILMSTRIP);
    webex.phone().dial(spaceId, option, new CompletionHandler<Call>() {
        ...
    });

The filmstrip is the default layout.

Clone this wiki locally