HlsMediaPlaylist class
Constructors
HlsMediaPlaylist.create ({required int playlistType , required int ? startOffsetUs , required int ? startTimeUs , required bool hasDiscontinuitySequence , required int discontinuitySequence , required int ? mediaSequence , required int ? version , required int ? targetDurationUs , required bool hasEndTag , required bool hasProgramDateTime , required DrmInitData ? protectionSchemes , required List <Segment > segments , required String baseUri , required List <String > tags , required bool hasIndependentSegments })
factory
Properties
baseUri
→ String ?
The base uri. Used to resolve relative paths.
final inherited
discontinuitySequence
→ int
The discontinuity sequence number of the first media segment in the playlist, as defined by #EXT-X-DISCONTINUITY-SEQUENCE, may be null if unknown.
final
durationUs
→ int ?
The total duration of the playlist in microseconds, may be null if unknown.
final
hasDiscontinuitySequence
→ bool
Whether the playlist contains the #EXT-X-DISCONTINUITY-SEQUENCE tag.
final
hasEndTag
→ bool
Whether the playlist contains the #EXT-X-ENDLIST tag.
final
hashCode
→ int
The hash code for this object.
no setter inherited
hasIndependentSegments
→ bool
Whether the media is formed of independent segments, as defined by the #EXT-X-INDEPENDENT-SEGMENTS tag.
final inherited
hasProgramDateTime
→ bool
Whether the playlist contains a #EXT-X-PROGRAM-DATE-TIME tag.
final
mediaSequence
→ int ?
The media sequence number of the first media segment in the playlist, as defined by #EXT-X-MEDIA-SEQUENCE, may be null if unknown.
final
playlistType
→ int
The type of the playlist. The value is playlistTypeUnknown or playlistTypeVod or playlistTypeEvent and not null.
final
protectionSchemes
→ DrmInitData ?
Contains the CDM protection schemes used by segments in this playlist. Does not contain any key acquisition data. Null if none of the segments in the playlist is CDM-encrypted.
final
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
segments
→ List <Segment >
The list of segments in the playlist.
final
startOffsetUs
→ int ?
The start offset in microseconds, as defined by #EXT-X-START, may be null if unknown.
final
startTimeUs
→ int ?
If hasProgramDateTime is true, contains the datetime as microseconds since epoch.
Otherwise, contains the aggregated duration of removed segments up to this snapshot of the playlist.
final
tags
→ List <String >
The list of tags in the playlist.
final inherited
targetDurationUs
→ int ?
The target duration in microseconds, as defined by #EXT-X-TARGETDURATION, may be null if unknown.
final
version
→ int ?
The compatibility version, as defined by #EXT-X-VERSION, may be null if unknown.
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
flutter_native_player 1.0.5