diff options
Diffstat (limited to 'client/src')
-rw-r--r-- | client/src/assets/player/shared/p2p-media-loader/hls-plugin.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/assets/player/shared/p2p-media-loader/hls-plugin.ts b/client/src/assets/player/shared/p2p-media-loader/hls-plugin.ts index 7f7d90ab9..63f27eecf 100644 --- a/client/src/assets/player/shared/p2p-media-loader/hls-plugin.ts +++ b/client/src/assets/player/shared/p2p-media-loader/hls-plugin.ts | |||
@@ -403,7 +403,7 @@ class Html5Hlsjs { | |||
403 | this._duration = this.isLive ? Infinity : data.details.totalduration | 403 | this._duration = this.isLive ? Infinity : data.details.totalduration |
404 | 404 | ||
405 | // Increase network error recovery for lives since they can be broken (server restart, stream interruption etc) | 405 | // Increase network error recovery for lives since they can be broken (server restart, stream interruption etc) |
406 | if (this.isLive) this.maxNetworkErrorRecovery = 300 | 406 | if (this.isLive) this.maxNetworkErrorRecovery = 30 |
407 | }) | 407 | }) |
408 | 408 | ||
409 | this.hls.once(Hlsjs.Events.FRAG_LOADED, () => { | 409 | this.hls.once(Hlsjs.Events.FRAG_LOADED, () => { |