ScreenShareVideoRenderer
fun ScreenShareVideoRenderer(call: Call, session: ScreenSharingSession, modifier: Modifier = Modifier, labelPosition: Alignment = Alignment.BottomStart, isShowConnectionQualityIndicator: Boolean = true, isZoomable: Boolean = true, fallbackContent: @Composable (ScreenSharingSession) -> Unit = {
val userName by it.participant.userNameOrId.collectAsStateWithLifecycle()
val userImage by it.participant.image.collectAsStateWithLifecycle()
UserAvatarBackground(userImage = userImage, userName = userName)
})
Represents the content of a screen sharing session.
Parameters
call
The call state.
session
The screen sharing session to show.
modifier
Modifier for styling.
fallbackContent
Fallback content to show when the screen sharing session is loading or not available.