From ade32bea240fa74f01d4dd4792b1069cca619bba Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 20 Nov 2021 09:35:17 +0100 Subject: Improve youtube throttling by increasing youtube downloader range buffer size by 10 --- plugins/youtube/YoutubeMediaProxy.hpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'plugins/youtube') diff --git a/plugins/youtube/YoutubeMediaProxy.hpp b/plugins/youtube/YoutubeMediaProxy.hpp index 8e6ea38..e2c4bf7 100644 --- a/plugins/youtube/YoutubeMediaProxy.hpp +++ b/plugins/youtube/YoutubeMediaProxy.hpp @@ -25,9 +25,6 @@ namespace QuickMedia { virtual bool get_address(std::string &address) = 0; bool start_download(const std::string &media_url, ReadProgram &read_program, int64_t range_start, bool include_header, bool is_livestream = false, int livestream_sequence = -1); - private: - int rn = 0; - int rbuf = 0; }; class YoutubeStaticMediaProxy : public YoutubeMediaProxy { -- cgit v1.2.3