From 7b5f338e7c98242e6c67df62988dfadd5b4fc748 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Tue, 17 Aug 2021 01:55:17 +0200 Subject: Temporary disable throttle detection --- src/plugins/youtube/YoutubeMediaProxy.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/plugins/youtube/YoutubeMediaProxy.cpp b/src/plugins/youtube/YoutubeMediaProxy.cpp index 61eb374..c5af20e 100644 --- a/src/plugins/youtube/YoutubeMediaProxy.cpp +++ b/src/plugins/youtube/YoutubeMediaProxy.cpp @@ -474,6 +474,7 @@ namespace QuickMedia { } } +#if 0 if(download_started) { struct timespec tp; clock_gettime(CLOCK_MONOTONIC, &tp); @@ -501,6 +502,7 @@ namespace QuickMedia { throttle_started = false; } } +#endif // TODO: Remove this code and instead create the header ourselves and send it to the client. Then pipe the curl output directly to the client input. if(!download_header_finished) { -- cgit v1.2.3