# TracksRenderersFactory

class TracksRenderersFactory(context: Context, type: MediaFrame.Type, processor: AudioProcessor? = null) : DefaultRenderersFactory

## Constructors

TracksRenderersFactory
Link copied to clipboard
constructor(context: Context, type: MediaFrame.Type, processor: AudioProcessor? = null)

## Functions

createRenderers
Link copied to clipboard
open fun createRenderers(eventHandler: Handler, videoRendererEventListener: VideoRendererEventListener, audioRendererEventListener: AudioRendererEventListener, textRendererOutput: TextOutput, metadataRendererOutput: MetadataOutput): Array<out Renderer>
createSecondaryRenderer
Link copied to clipboard
@Nullable
open fun createSecondaryRenderer(renderer: Renderer, eventHandler: Handler, videoRendererEventListener: VideoRendererEventListener, audioRendererEventListener: AudioRendererEventListener, textRendererOutput: TextOutput, metadataRendererOutput: MetadataOutput): Renderer?
experimentalSetEnableMediaCodecBufferDecodeOnlyFlag
Link copied to clipboard
@RequiresApi(value = 34)
open fun experimentalSetEnableMediaCodecBufferDecodeOnlyFlag(enableMediaCodecBufferDecodeOnlyFlag: Boolean): DefaultRenderersFactory
experimentalSetEnableMediaCodecVideoRendererPrewarming
Link copied to clipboard
fun experimentalSetEnableMediaCodecVideoRendererPrewarming(enableMediaCodecVideoRendererPrewarming: Boolean): DefaultRenderersFactory
experimentalSetLateThresholdToDropDecoderInputUs
Link copied to clipboard
fun experimentalSetLateThresholdToDropDecoderInputUs(lateThresholdToDropDecoderInputUs: Long): DefaultRenderersFactory
experimentalSetMediaCodecAsyncCryptoFlagEnabled
Link copied to clipboard
fun experimentalSetMediaCodecAsyncCryptoFlagEnabled(enableAsyncCryptoFlag: Boolean): DefaultRenderersFactory
experimentalSetParseAv1SampleDependencies
Link copied to clipboard
fun experimentalSetParseAv1SampleDependencies(parseAv1SampleDependencies: Boolean): DefaultRenderersFactory
forceDisableMediaCodecAsynchronousQueueing
Link copied to clipboard
fun forceDisableMediaCodecAsynchronousQueueing(): DefaultRenderersFactory
forceEnableMediaCodecAsynchronousQueueing
Link copied to clipboard
fun forceEnableMediaCodecAsynchronousQueueing(): DefaultRenderersFactory
setAllowedVideoJoiningTimeMs
Link copied to clipboard
fun setAllowedVideoJoiningTimeMs(allowedVideoJoiningTimeMs: Long): DefaultRenderersFactory
setEnableAudioFloatOutput
Link copied to clipboard
fun setEnableAudioFloatOutput(enableFloatOutput: Boolean): DefaultRenderersFactory
setEnableAudioOutputPlaybackParameters
Link copied to clipboard
fun setEnableAudioOutputPlaybackParameters(enableAudioOutputPlaybackParameters: Boolean): DefaultRenderersFactory
setEnableAudioTrackPlaybackParams
Link copied to clipboard
fun setEnableAudioTrackPlaybackParams(enableAudioTrackPlaybackParams: Boolean): DefaultRenderersFactory
setEnableDecoderFallback
Link copied to clipboard
fun setEnableDecoderFallback(enableDecoderFallback: Boolean): DefaultRenderersFactory
setExtensionRendererMode
Link copied to clipboard
fun setExtensionRendererMode(extensionRendererMode: Int): DefaultRenderersFactory
setMediaCodecSelector
Link copied to clipboard
fun setMediaCodecSelector(mediaCodecSelector: MediaCodecSelector): DefaultRenderersFactory