logo

THEOplayer > SourceAbrConfiguration

SourceAbrConfiguration interface

Describes the ABR configuration for a specific source.

Signature:

export interface SourceAbrConfiguration 

Properties

Property

Type

Description

preferredAudioCodecs (optional)

string[]

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)

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.

restrictToPlayerSize (optional)

boolean

Whether to restrict the ABR algorithm to only select qualities whose resolution fits within the player's rendered size.

Property Details

preferredAudioCodecs

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[];

preferredVideoCodecs

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[];

restrictToPlayerSize

Whether to restrict the ABR algorithm to only select qualities whose resolution fits within the player's rendered size.

Signature:

restrictToPlayerSize?: boolean;

Remarks


- 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.

github
Make sure to follow us on GitHub!
THEO-logo-white
twitter
facebook
linkedin
Copyright © 2022. All Rights Reserved.
Leuven
New York
Singapore
Barcelona