DecoderPriorityProvider
interface DecoderPriorityProvider
Can be set on the DecoderConfig.decoderPriorityProvider to override the default decoder selection logic.
Functions
Link copied to clipboard
abstract fun overrideDecodersPriority(context: DecoderPriorityProvider.DecoderContext, preferredDecoders: List<MediaCodecInfo>): List<MediaCodecInfo>
The context provides additional information about the context in which a new decoder is chosen. The preferredDecoders list contains all available decoders for the given context in the order they will be used by the player.