Rate this page:

com.voximplant.android.sdk.renderer.compose

Methods

VideoRenderer

Copy URL
@Composable
fun VideoRenderer( modifier:

Modifier

,
videoStream:

VideoStream?

,
renderScaleType:

RenderScaleType

):

Unit

A composable that renders a video stream.

Parameters

  • modifier:

    Modifier

    the Modifier to be applied to the video renderer

  • videoStream:

    VideoStream?

    Optional

    The video stream to be rendered or null to dispose

  • renderScaleType:

    RenderScaleType

    The scale type to be applied to the video renderer. Default value is RenderScaleType.Fit.

Returns

  • type:

    Unit