From c35fc22c4ca2a77bfc7317d3b8f78acabb855631 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Thu, 5 Aug 2021 12:18:29 +0200 Subject: Matrix: fix editing hidden events being visible --- src/plugins/youtube/YoutubeMediaProxy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/youtube') diff --git a/src/plugins/youtube/YoutubeMediaProxy.cpp b/src/plugins/youtube/YoutubeMediaProxy.cpp index ed38981..e67a920 100644 --- a/src/plugins/youtube/YoutubeMediaProxy.cpp +++ b/src/plugins/youtube/YoutubeMediaProxy.cpp @@ -20,7 +20,7 @@ namespace QuickMedia { static const int MAX_BUFFER_SIZE = 65536; static const int RANGE = 524287; static const int64_t THROTTLED_DOWNLOAD_LIMIT_KB = 80; // TODO: What about people with really slow internet? What if the video player cache is not working and download is stuck, leading to false download speed calculation? - static const int64_t THROTTLED_DURATION_SECS = 3; + static const int64_t THROTTLED_DURATION_SECS = 2; static const char download_error_response_msg[] = "HTTP/1.1 500 Internal Server Error\r\n" "Content-Length: 0\r\n\r\n"; -- cgit v1.2.3