fix!: extracting nsig function, remove field throttled from Video/Audio stream model

This commit is contained in:
ThetaDev 2024-07-15 20:41:20 +02:00
parent 182826a3ac
commit dd0565ba98
No known key found for this signature in database
GPG key ID: E319D3C5148D65B6
9 changed files with 140 additions and 274 deletions

View file

@ -211,9 +211,6 @@ pub struct VideoStream {
pub format: VideoFormat,
/// Video codec
pub codec: VideoCodec,
/// True if the deobfuscation of the nsig url parameter failed
/// and the stream will be throttled
pub throttled: bool,
}
/// Audio stream
@ -259,9 +256,6 @@ pub struct AudioStream {
///
/// The loudness parameter is not available when using the Android client.
pub loudness_db: Option<f32>,
/// True if the deobfuscation of the nsig url parameter failed
/// and the stream will be throttled
pub throttled: bool,
/// Audio track information
///
/// Videos can have multiple audio tracks (different languages).