TextureViewRenderer

fun TextureViewRenderer(modifier: Modifier = Modifier, isMirror: Boolean = false, scalingType: RendererCommon.ScalingType = ScalingType.SCALE_ASPECT_FILL, configuration: TextureViewRendererConfiguration, videoTrack: VideoTrack)

Implementation of the texture view renderer in compose applications.

Parameters

modifier

The view modifier in the parent container

isMirror

Mirror the frames in case of selfie frames

scalingType

How the frames should be rendered in the view itself

configuration

The holder of the various inherent view

videoTrack

The video track which will be used to feed the frames received