HlsMasterPlaylist class

Inheritance

Constructors

HlsMasterPlaylist({String? baseUri, List<String> tags = const [], List<Variant> variants = const [], List<Rendition> videos = const [], List<Rendition> audios = const [], List<Rendition> subtitles = const [], List<Rendition> closedCaptions = const [], Format? muxedAudioFormat, List<Format>? muxedCaptionFormats = const [], bool hasIndependentSegments = false, Map<String?, String> variableDefinitions = const {}, List<DrmInitData> sessionKeyDrmInitData = const []})

Properties

audios List<Rendition>
The audio renditions declared by the playlist.
final
baseUri String?
The base uri. Used to resolve relative paths.
finalinherited
closedCaptions List<Rendition>
The closed caption renditions declared by the playlist.
final
hashCode int
The hash code for this object.
no setterinherited
hasIndependentSegments bool
Whether the media is formed of independent segments, as defined by the #EXT-X-INDEPENDENT-SEGMENTS tag.
finalinherited
mediaPlaylistUrls List<Uri?>
All of the media playlist URLs referenced by the playlist.
final
muxedAudioFormat Format?
The format of the audio muxed in the variants. May be null if the playlist does not declare any mixed audio.
final
muxedCaptionFormats List<Format>?
The format of the closed captions declared by the playlist. May be empty if the playlist explicitly declares no captions are available, or null if the playlist does not declare any captions information.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sessionKeyDrmInitData List<DrmInitData>
DRM initialization data derived from #EXT-X-SESSION-KEY tags.
final
subtitles List<Rendition>
The subtitle renditions declared by the playlist.
final
tags List<String>
The list of tags in the playlist.
finalinherited
variableDefinitions Map<String?, String>
Contains variable definitions, as defined by the #EXT-X-DEFINE tag.
final
variants List<Variant>
The variants declared by the playlist.
final
videos List<Rendition>
The video renditions declared by the playlist.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited