THEOplayer Web SDK
    Preparing search index...

    Interface SourceAbrConfiguration

    Describes the ABR configuration for a specific source.

    interface SourceAbrConfiguration {
        preferredAudioCodecs?: string[];
        preferredVideoCodecs?: string[];
        restrictToPlayerSize?: boolean;
    }
    Index

    Properties

    preferredAudioCodecs?: string[]

    A list of preferred audio codecs which will be used by the ABR algorithm for track selection, if the codec is supported.

    preferredVideoCodecs?: string[]

    A list of preferred video codecs which will be used by the ABR algorithm for track selection, if the codec is supported.

    restrictToPlayerSize?: boolean

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


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

    undefined