VideoTrackEmbeddedRenderer

fun VideoTrackEmbeddedRenderer(videoTrack: VideoTrack?, modifier: Modifier = Modifier, mirror: Boolean = false)

Renders a VideoTrack embedded directly in the UI hierarchy.

Unlike VideoTrackRenderer it positions its surface as a regular element inside the composable hierarchy and seamlessly supports clipping.

Parameters

videoTrack

an instance of video track or null

modifier

optional Modifier to be applied to the video

mirror

defines if the video should rendered mirrored