Package-level declarations

Types

Link copied to clipboard
class VideoRendererView : VideoTextureViewRenderer

Renders a single video track based on the call state.

Link copied to clipboard

Types of video scaling: SCALE_ASPECT_FIT - video frame is scaled to fit the size of the view by maintaining the aspect ratio (black borders may be displayed).

Functions

Link copied to clipboard
fun VideoRenderer(    modifier: Modifier = Modifier,     call: Call,     video: ParticipantState.Media?,     videoRendererConfig: VideoRendererConfig = videoRenderConfig(),     onRendered: (VideoTextureViewRenderer) -> Unit = {})

fun VideoRenderer(    call: Call,     video: ParticipantState.Media?,     modifier: Modifier = Modifier,     videoScalingType: VideoScalingType = VideoScalingType.SCALE_ASPECT_FILL,     videoFallbackContent: @Composable (Call) -> Unit = { DefaultMediaTrackFallbackContent( modifier, call, ) },     onRendered: (VideoTextureViewRenderer) -> Unit = {})

Renders a single video track based on the call state.