PeerTube icon indicating copy to clipboard operation
PeerTube copied to clipboard

Live streaming: Cannot get sha256 segments SyntaxError: Unexpected end of JSON input

Open ROBERT-MCDOWELL opened this issue 3 years ago • 0 comments

Describe the current behavior

When a live segments is corrupted or not found it creates too many loops of the same fetching segment

polyfills.4dee205ae13c48d1.js:1 GET https://secure.direct-live.net/live/segments-sha256/9fac13a4-0aab-4db5-bf66-a891d229b58b 404 Cannot get sha256 segments SyntaxError: Unexpected end of JSON input

Steps to reproduce

  1. start a live
  2. restart web server to create some network latency
  3. check the console log,

Describe the expected behavior

Maybe an incrementation of 5 or 10 to refresh the segment will avoid the player to be too late from the current segments on the server? or maybe keep more segments longer on the server?

ROBERT-MCDOWELL avatar Aug 03 '22 15:08 ROBERT-MCDOWELL