ParticipantsScreenSharing
fun ParticipantsScreenSharing(call: Call, session: ScreenSharingSession, modifier: Modifier = Modifier, isZoomable: Boolean = true, style: VideoRendererStyle = ScreenSharingVideoRendererStyle(), 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.
session
The screen sharing session which is active.
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.