HlsMuxedStreamInfo class
YouTube media stream that contains both audio and video, in HLS format. This is not directly downloadable but returns a file with a list of the video fragments urls.
- Mixed-in types
- Annotations
-
- @JsonSerializable()
Constructors
- HlsMuxedStreamInfo(VideoId videoId, int tag, Uri url, StreamContainer container, FileSize size, Bitrate bitrate, String audioCodec, String videoCodec, String qualityLabel, VideoQuality videoQuality, VideoResolution videoResolution, Framerate framerate, MediaType codec)
- Initializes an instance of HlsMuxedStreamInfo
-
HlsMuxedStreamInfo.fromJson(Map<
String, dynamic> json) -
factory
Properties
- audioCodec → String
-
final
- audioItag → int?
-
The tag of the audio stream related to this stream.
no setter
- audioTrack → AudioTrack?
-
Hls streams do not provide info about the language.
no setteroverride
- bitrate → Bitrate
-
For HLS streams this is an approximation.
final
- codec → MediaType
-
Stream codec.
final
- container → StreamContainer
-
Stream container.
final
-
fragments
→ List<
Fragment> -
Always empty.
no setteroverride
- framerate → Framerate
-
Video framerate.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isThrottled → bool
-
Whether the stream is throttled or not.
no setterinherited
- qualityLabel → String
-
Stream codec.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → FileSize
-
For HLS streams this is an approximation.
final
- tag → int
-
Stream tag.
Uniquely identifies a stream inside a manifest.
final
- url → Uri
-
Stream URL.
final
- videoCodec → String
-
Video codec.
final
- videoId → VideoId
-
The video id of the video this stream belongs to.
final
- videoQuality → VideoQuality
-
Video quality.
final
- videoQualityLabel → String
-
Video quality label, as seen on YouTube.
no setteroverride
- videoResolution → VideoResolution
-
Video resolution.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Convert to a json-serialized type.
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited