Source Config
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.
Types
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.
Properties
The audio codec priority for the Source. First index has the highest priority.
A list of additional SubtitleTracks available for the Source.
The current ThumbnailTrack or null
.
The video codec priority for the Source. First index has the highest priority.