AudioOnlyStreamInfo class

YouTube media stream that only contains audio.

Mixed-in types
Annotations
  • @JsonSerializable()

Constructors

AudioOnlyStreamInfo(VideoId videoId, int tag, Uri url, StreamContainer container, FileSize size, Bitrate bitrate, String audioCodec, String qualityLabel, List<Fragment> fragments, MediaType codec, AudioTrack? audioTrack)
AudioOnlyStreamInfo.fromJson(Map<String, dynamic> json)
factory

Properties

audioCodec String
final
audioTrack → AudioTrack?
Audio track which describes the language of the audio.
final
bitrate Bitrate
Stream bitrate.
final
codec → MediaType
Streams codec.
final
container StreamContainer
Stream container.
final
fragments List<Fragment>
DASH/HLS streams contain multiple stream fragments.
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 quality label.
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
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