Browse Source

Reduce time to throw an error on live problem

pull/5340/merge
Chocobozzz 2 weeks ago
parent
commit
0ef18e5b89
No known key found for this signature in database GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      client/src/assets/player/shared/p2p-media-loader/hls-plugin.ts

+ 1
- 1
client/src/assets/player/shared/p2p-media-loader/hls-plugin.ts View File

@@ -403,7 +403,7 @@ class Html5Hlsjs {
this._duration = this.isLive ? Infinity : data.details.totalduration

// Increase network error recovery for lives since they can be broken (server restart, stream interruption etc)
if (this.isLive) this.maxNetworkErrorRecovery = 300
if (this.isLive) this.maxNetworkErrorRecovery = 30
})

this.hls.once(Hlsjs.Events.FRAG_LOADED, () => {


Loading…
Cancel
Save