Class LibvpxVideoRenderer

    • Constructor Detail

      • LibvpxVideoRenderer

        public LibvpxVideoRenderer​(long allowedJoiningTimeMs)
        Creates a new instance.
        Parameters:
        allowedJoiningTimeMs - The maximum duration in milliseconds for which this video renderer can attempt to seamlessly join an ongoing playback.
      • LibvpxVideoRenderer

        public LibvpxVideoRenderer​(long allowedJoiningTimeMs,
                                   @Nullable
                                   Handler eventHandler,
                                   @Nullable
                                   VideoRendererEventListener eventListener,
                                   int maxDroppedFramesToNotify)
        Creates a new instance.
        Parameters:
        allowedJoiningTimeMs - The maximum duration in milliseconds for which this video renderer can attempt to seamlessly join an ongoing playback.
        eventHandler - A handler to use when delivering events to eventListener. May be null if delivery of events is not required.
        eventListener - A listener of events. May be null if delivery of events is not required.
        maxDroppedFramesToNotify - The maximum number of frames that can be dropped between invocations of VideoRendererEventListener.onDroppedFrames(int, long).
      • LibvpxVideoRenderer

        public LibvpxVideoRenderer​(long allowedJoiningTimeMs,
                                   @Nullable
                                   Handler eventHandler,
                                   @Nullable
                                   VideoRendererEventListener eventListener,
                                   int maxDroppedFramesToNotify,
                                   int threads,
                                   int numInputBuffers,
                                   int numOutputBuffers)
        Creates a new instance.
        Parameters:
        allowedJoiningTimeMs - The maximum duration in milliseconds for which this video renderer can attempt to seamlessly join an ongoing playback.
        eventHandler - A handler to use when delivering events to eventListener. May be null if delivery of events is not required.
        eventListener - A listener of events. May be null if delivery of events is not required.
        maxDroppedFramesToNotify - The maximum number of frames that can be dropped between invocations of VideoRendererEventListener.onDroppedFrames(int, long).
        threads - Number of threads libvpx will use to decode.
        numInputBuffers - Number of input buffers.
        numOutputBuffers - Number of output buffers.