Module ytextract::stream[][src]

Expand description

Streams of a YouTube video

Example

let client = ytextract::Client::new().await?;

let streams = client.streams("nI2e-J6fsuk".parse()?).await?;

for stream in streams {
    println!("Duration: {:?}", stream.duration())
}

Structs

AudioStream

A Stream specifically containing audio data.

CommonStream

A Stream containing video or audio data.

VideoStream

A Stream specifically containing video data.

Enums

Error

A Error that can occur when working with Streams

Quality

The quality of a Stream

Stream

A Stream of a YouTube video