Package-level declarations

Types

Link copied to clipboard
data class FrameResolution(val width: Int, val height: Int, val orientation: Int)

Contains the information about frame's resolution and orientation.

Properties

Link copied to clipboard

CompositionLocal containing the global EglBase instance.

Link copied to clipboard

CompositionLocal containing the config used to create EglBase instance.

Functions

Link copied to clipboard
fun VideoTrackRenderer(videoTrack: VideoTrack?, modifier: Modifier = Modifier, keepScreenOn: Boolean = true, mirror: Boolean = false, zOrderMediaOverlay: Boolean = false, zOrderOnTop: Boolean = false, onFirstFrame: () -> Unit = { }, onFrameResolutionChange: (FrameResolution) -> Unit = { }, scalingTypeMatchOrientation: RendererCommon.ScalingType = RendererCommon.ScalingType.SCALE_ASPECT_BALANCED, scalingTypeMismatchOrientation: RendererCommon.ScalingType = scalingTypeMatchOrientation)

Composes SurfaceViewRenderer and renders a VideoTrack.