AudioOnlyStreamInfo class

YouTube media stream that only contains audio.

Mixed-in types
Annotations
  • @JsonSerializable()

Constructors

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

Properties

audioCodec String
final
bitrate Bitrate
Stream bitrate.
final
codec → MediaType
Streams codec.
final
container StreamContainer
Stream container.
final
fragments List<Fragment>
DASH 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

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