MediaTrackControllable
Interface for controlling and querying media tracks, specifically focusing on track variants and language selection.
This interface extends LanguageTrackSelector, inheriting its language selection capabilities, and adds methods for managing different variants of media tracks (e.g., different video resolutions, audio encodings). It allows for querying available track variants, setting preferred variants, and configuring bitrate thresholds for adaptive streaming.
Inheritors
Functions
Obtain the Active Track variant option for the passed TrackVariantInfo.Type, if available.
Returns the collection of MIME types of the Player's track variants available in TrackVariantInfo
Obtain the Available Track variants for passed TrackVariantInfo.Type.
Retrieves a list of available audio languages for the current media content.
Returns a list of available subtitle languages.
Sets the preferred audio language for the media player.
Configures the Player's Variant Adaptation Logic with the passed maximum and minimum bitrate constraints.
Activates an Elementary track matching the passed TrackVariantInfo option Sets the order of preference for various MIME types. Ex: aac, ec3, ac3, etc. Use MimeTypes for all possible values.
Configures the Player's Variant Adaptation Logic with the passed maximum bitrate constraint.
Sets the preferred language for subtitles.
Activates an Elementary track matching the passed TrackVariantInfo option