SourceConfig
Configures a Source that can be loaded into a Player.
Inheritors
Constructors
Creates a new SourceConfig for a given type.
Creates a new SourceConfig based on the provided url to a DASH, HLS, SMOOTH or Progressive MP4 source.
Properties
The audio codec priority for the Source. First index has the highest priority.
The current DASHSource.
The descriptions of the Source.
Whether the poster is persistent.
The LabelingConfig for the Source.
The additional SourceOptions for the Source.
The URL pointing to the poster image.
The current ProgressiveSource.
The current SmoothSource.
A list of additional SubtitleTracks available for the Source.
The current ThumbnailTrack or null
.
The SourceType of the Source.
The video codec priority for the Source. First index has the highest priority.
Functions
Sets a DrmConfig to this SourceConfig. Returns the DrmConfig that was set on the SourceConfig.
Adds the provided SubtitleTrack to this SourceConfig. Returns the SubtitleTrack that was added.
Generates a SubtitleTrack with the provided url and adds it to this SourceConfig. Returns the SubtitleTrack that was added.
Generates a SubtitleTrack with the provided parameter and adds it to this SourceConfig.
Returns the DrmConfig if the uuid matches the config in this SourceConfig.
Sets the poster image and its persistent state for this SourceConfig.
Generates a ThumbnailTrack with the provided url and sets it on this SourceConfig.