CustomMediaCodecVideoRenderer
Parameters
A context.
A decoder selector.
Parameters
A context.
A decoder selector.
The maximum duration in milliseconds for which this video renderer can attempt to seamlessly join an ongoing playback.
Parameters
A context.
A decoder selector.
The maximum duration in milliseconds for which this video renderer can attempt to seamlessly join an ongoing playback.
A handler to use when delivering events to eventListener
. May be null if delivery of events is not required.
A listener of events. May be null if delivery of events is not required.
The maximum number of frames that can be dropped between invocations of onDroppedFrames.
Parameters
A context.
A decoder selector.
The maximum duration in milliseconds for which this video renderer can attempt to seamlessly join an ongoing playback.
Whether to enable fallback to lower-priority decoders if decoder initialization fails. This may result in using a decoder that is slower/less efficient than the primary decoder.
A handler to use when delivering events to eventListener
. May be null if delivery of events is not required.
A listener of events. May be null if delivery of events is not required.
The maximum number of frames that can be dropped between invocations of onDroppedFrames.
Parameters
A context.
The MediaCodecAdapter.Factory used to create instances.
A decoder selector.
The maximum duration in milliseconds for which this video renderer can attempt to seamlessly join an ongoing playback.
Whether to enable fallback to lower-priority decoders if decoder initialization fails. This may result in using a decoder that is slower/less efficient than the primary decoder.
A handler to use when delivering events to eventListener
. May be null if delivery of events is not required.
A listener of events. May be null if delivery of events is not required.
The maximum number of frames that can be dropped between invocations of onDroppedFrames.
Creates a new instance.
Parameters
A context.
The MediaCodecAdapter.Factory used to create instances.
A decoder selector.
The maximum duration in milliseconds for which this video renderer can attempt to seamlessly join an ongoing playback.
Whether to enable fallback to lower-priority decoders if decoder initialization fails. This may result in using a decoder that is slower/less efficient than the primary decoder.
A handler to use when delivering events to eventListener
. May be null if delivery of events is not required.
A listener of events. May be null if delivery of events is not required.
The maximum number of frames that can be dropped between invocations of onDroppedFrames.
A codec operating rate that all codecs instantiated by this renderer are assumed to meet implicitly (i.e. without the operating rate being set explicitly using KEY_OPERATING_RATE).