VideoOnlyStreamInfo class
YouTube media stream that only contains video.
- Mixed-in types
- Annotations
-
- @JsonSerializable()
Constructors
-
VideoOnlyStreamInfo(VideoId videoId, int tag, Uri url, StreamContainer container, FileSize size, Bitrate bitrate, String videoCodec, String qualityLabel, VideoQuality videoQuality, VideoResolution videoResolution, Framerate framerate, List<
Fragment> fragments, MediaType codec) -
VideoOnlyStreamInfo.fromJson(Map<
String, dynamic> json) -
factory
Properties
- 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
- 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 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
- 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