VideoRenderer

fun VideoRenderer(modifier: Modifier = Modifier, videoTrack: VideoTrack, eglBaseContext: EglBase.Context, videoScalingType: VideoScalingType = VideoScalingType.SCALE_ASPECT_BALANCED, onTextureViewCreated: (VideoTextureViewRenderer) -> Unit = { }, rendererEvents: RendererCommon.RendererEvents)

Renders a single video track based on the call state.

Parameters

videoTrack

The track containing the video stream for a given participant.

modifier

Modifier for styling.