ParticipantsSpotlight

fun ParticipantsSpotlight(call: Call, modifier: Modifier = Modifier, isZoomable: Boolean = false, style: VideoRendererStyle = SpotlightVideoRendererStyle(), videoRenderer: @Composable (modifier: Modifier, call: Call, participant: ParticipantState, style: VideoRendererStyle) -> Unit = { videoModifier, videoCall, videoParticipant, videoStyle -> ParticipantVideo( modifier = videoModifier, call = videoCall, participant = videoParticipant, style = videoStyle, ) })

Renders all the CallParticipants, 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.

isZoomable

Decide to this screensharing video renderer is zoomable or not.

style

Defined properties for styling a single video call track.

videoRenderer

A single video renderer renders each individual participant.