Package 

Class VideoRendererKt

    • Method Summary

      Modifier and Type Method Description
      final static Unit VideoRenderer(Modifier modifier, Call call, ParticipantState.Media video, VideoRendererConfig videoRendererConfig, Function1<VideoTextureViewRenderer, Unit> onRendered)
      final static Unit VideoRenderer(Call call, ParticipantState.Media video, Modifier modifier, VideoScalingType videoScalingType, Function1<Call, Unit> videoFallbackContent, Function1<VideoTextureViewRenderer, Unit> onRendered) Renders a single video track based on the call state.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • VideoRenderer

         final static Unit VideoRenderer(Modifier modifier, Call call, ParticipantState.Media video, VideoRendererConfig videoRendererConfig, Function1<VideoTextureViewRenderer, Unit> onRendered)
      • VideoRenderer

         final static Unit VideoRenderer(Call call, ParticipantState.Media video, Modifier modifier, VideoScalingType videoScalingType, Function1<Call, Unit> videoFallbackContent, Function1<VideoTextureViewRenderer, Unit> onRendered)

        Renders a single video track based on the call state.

        Parameters:
        call - The call state that contains all the tracks and participants.
        video - A media contains a video track or an audio track to be rendered.
        modifier - Modifier for styling.
        videoScalingType - Setup the video scale type of this renderer.
        videoFallbackContent - Content is shown the video track is failed to load or not available.
        onRendered - An interface that will be invoked when the video is rendered.