add Subtitle Track
Generates a SubtitleTrack with the provided url and adds it to this SourceConfig. Returns the SubtitleTrack that was added.
Adds the provided SubtitleTrack to this SourceConfig. Returns the SubtitleTrack that was added.
Generates a SubtitleTrack with the provided parameter and adds it to this SourceConfig.
Return
The SubtitleTrack that was added.
Parameters
The URL of the SubtitleTrack.
The label of the SubtitleTrack.
The ID of the SubtitleTrack.
If the SubtitleTrack is the default track.
The language identifier of the SubtitleTrack.
Generates a SubtitleTrack with the provided parameter and adds it to this SourceConfig.
Return
The SubtitleTrack that was added.
Parameters
The URL of the SubtitleTrack.
The mime type of the SubtitleTrack.
The label of the SubtitleTrack.
The ID of the SubtitleTrack.
If the SubtitleTrack is the default track.
The language identifier of the SubtitleTrack.