DecoderPriorityProvider

Can be set on the DecoderConfig.decoderPriorityProvider to override the default decoder selection logic.

Types

Link copied to clipboard
data class DecoderContext(val mediaType: MediaType, val isAd: Boolean) : Parcelable

The context in which a new decoder is chosen.

Functions

Link copied to clipboard

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.