Skip to content

Add optional flushImmediate argument to AudioSelectionOption #7692

@robwalch

Description

@robwalch

flushImmediate should be added as an optional property in AudioSelectionOption, so that the default behavior can be overridden when using hls.setAudioOption to change audio tracks.

// Make a "smooth" track change to a rendition matching the audio option criteria
// (`lang`, `channels`, etc...)
hls.setAudioOption({ /* track criteria */, flushImmediate: false });

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Top priorities

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions