HlsAudioStreamInfo 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
- HlsAudioStreamInfo(VideoId videoId, int tag, Uri url, StreamContainer container, FileSize size, Bitrate bitrate, String audioCodec, String qualityLabel, MediaType codec)
- Initializes an instance of HlsAudioStreamInfo
-
HlsAudioStreamInfo.fromJson(Map<
String, dynamic> json) -
factory
Properties
- audioCodec → String
-
final
- audioItag → int?
-
The tag of the audio stream related to this stream.
no setterinherited
- 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
- 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
- videoId → VideoId
-
The video id of the video this stream belongs to.
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