StreamClient class

Queries related to media streams of YouTube videos.

Constructors

StreamClient(YoutubeHttpClient _httpClient)
Initializes an instance of StreamClient

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

get(StreamInfo streamInfo) Stream<List<int>>
Gets the actual stream which is identified by the specified metadata. Usually this downloads the bytes of the stream. For HLS streams all the fragments are concatenated into a single stream.
getHttpLiveStreamUrl(VideoId videoId) Future<String>
Gets the HTTP Live Stream (HLS) manifest URL for the specified video (if it's a live video stream).
getManifest(dynamic videoId, {bool fullManifest = false, List<YoutubeApiClient>? ytClients, bool requireWatchPage = true}) Future<StreamManifest>
Gets the manifest that contains information about available streams in the specified video.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited