THEOplayer > SourceAbrConfiguration
Describes the ABR configuration for a specific source.
Signature:
export interface SourceAbrConfiguration
Property |
Type |
Description |
---|---|---|
preferredAudioCodecs (optional) |
|
A list of preferred audio codecs which will be used by the ABR algorithm to make an initial selection, if the codec is supported. |
preferredVideoCodecs (optional) |
|
A list of preferred video codecs which will be used by the ABR algorithm to make an initial selection, if the codec is supported. |
restrictToPlayerSize (optional) |
|
Whether to restrict the ABR algorithm to only select qualities whose resolution fits within the player's rendered size. |
A list of preferred audio codecs which will be used by the ABR algorithm to make an initial selection, if the codec is supported.
Signature:
preferredAudioCodecs?: string[];
A list of preferred video codecs which will be used by the ABR algorithm to make an initial selection, if the codec is supported.
Signature:
preferredVideoCodecs?: string[];
Whether to restrict the ABR algorithm to only select qualities whose resolution fits within the player's rendered size.
Signature:
restrictToPlayerSize?: boolean;
- If true
, only select qualities that fit within the player's size.
- If false
, allow selecting qualities that are larger than the player's size.
- If unset (default), then apply the restriction only when playing on a mobile device.