7ERr0r / youtubezero

Watch YouTube livestreams with less latency
9 stars 2 forks source link

the streams be speeding up and then it gets really slow #2

Open DraidS opened 10 months ago

DraidS commented 10 months ago

how do i fix like when i do the command for low latency and the ffvideo it just gets slow and quick again also there was another thing that was in outwriter.rs line 154 return Err(YoutubelinkError::NoUnixSocketError.into()); i changed it to YoutubezeroError and added "use crate::zeroerror::YoutubezeroError;" at the top and it fixed the bug

7ERr0r commented 10 months ago

I will try to fix the slowdown. Youtube slows down the bitrate on purpose. And the only way to bypass slow download rates is using the encrypted token from javascript.

DraidS commented 10 months ago

thanks

DraidS commented 10 months ago

still got the same error when i redownloaded it

error[E0433]: failed to resolve: use of undeclared type YoutubezeroError --> src\outwriter.rs:154:36 154 return Err(YoutubezeroError::NoUnixSocketError.into()); ^^^^^^^^^^^^^^^^ use of undeclared type YoutubezeroError
help: consider importing this enum 1 + use crate::zeroerror::YoutubezeroError;

For more information about this error, try rustc --explain E0433. error: could not compile youtubezero (bin "youtubezero") due to previous error

goodthing i made a backup of the old file and added this

use crate::zeroerror::YoutubezeroError;

DraidS commented 10 months ago

i also got this error but it still continued fine

warning: unused variable: addr --> src\outwriter.rs:142:36 142 } else if let Some(addr) = other_out.strip_prefix(UNIX_O) { ^^^^ help: if this is intentional, prefix it with an underscore: _addr
= note: `#[warn(unused_variables)]` on by default