ParticipantsLayout

fun ParticipantsLayout(call: Call, modifier: Modifier = Modifier, style: VideoRendererStyle = RegularVideoRendererStyle(), layoutType: LayoutType = LayoutType.DYNAMIC, videoRenderer: @Composable (modifier: Modifier, call: Call, participant: ParticipantState, style: VideoRendererStyle) -> Unit = { videoModifier, videoCall, videoParticipant, videoStyle -> ParticipantVideo( modifier = videoModifier, call = videoCall, participant = videoParticipant, style = videoStyle, ) }, floatingVideoRenderer: @Composable BoxScope.(call: Call, IntSize) -> Unit? = null)

Renders all the participants, based on the number of people in a call and the call state. Also takes into account if there are any screen sharing sessions active and adjusts the UI accordingly.

Parameters

call

The call that contains all the participants state and tracks.

modifier

Modifier for styling.

style

Defined properties for styling a single video call track.

layoutType

The type of layout. LayoutType, default - LayoutType.DYNAMIC

videoRenderer

A single video renderer renders each individual participant.