MuxedStreamInfo class
YouTube media stream that contains both audio and video.
- Mixed-in types
- Annotations
-
- @JsonSerializable()
Constructors
- MuxedStreamInfo(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 MuxedStreamInfo
-
MuxedStreamInfo.fromJson(Map<
String, dynamic> json) -
factory
Properties
- audioCodec → String
-
final
- audioTrack → AudioTrack?
-
Muxed streams do not provide info about the language.
no setteroverride
- bitrate → Bitrate
-
Stream bitrate.
final
- codec → MediaType
-
Stream codec.
final
- container → StreamContainer
-
Stream container.
final
-
fragments
→ List<
Fragment> -
Muxed streams never have fragments.
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
-
Stream size.
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