From 8066b31157ff57744e15445e304b309bfa30680a Mon Sep 17 00:00:00 2001 From: Andrew S Date: Thu, 5 Dec 2024 18:59:22 -0600 Subject: [PATCH] Undo timeout change --- chrome/player/FastStreamClient.mjs | 2 +- chrome/player/network/StandardDownloader.mjs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/chrome/player/FastStreamClient.mjs b/chrome/player/FastStreamClient.mjs index 0a908963..e2d102a1 100644 --- a/chrome/player/FastStreamClient.mjs +++ b/chrome/player/FastStreamClient.mjs @@ -46,7 +46,7 @@ export class FastStreamClient extends EventEmitter { maxVideoSize: 5000000000, // 5GB max size introCutoff: 5 * 60, outroCutoff: 5 * 60, - bufferAhead: 180, + bufferAhead: 300, bufferBehind: 20, freeFragments: true, downloadAll: false, diff --git a/chrome/player/network/StandardDownloader.mjs b/chrome/player/network/StandardDownloader.mjs index 7aa73110..d9a55a09 100644 --- a/chrome/player/network/StandardDownloader.mjs +++ b/chrome/player/network/StandardDownloader.mjs @@ -30,7 +30,7 @@ export class StandardDownloader { entry.status = DownloadStatus.DOWNLOAD_INITIATED; const defaultConfig = { - timeout: 60000, + timeout: 30000, maxRetry: 6, retryDelay: 1000, maxRetryDelay: 64000,