hls.js icon indicating copy to clipboard operation
hls.js copied to clipboard

Playback failure. Nothing is shown

Open survto opened this issue 5 months ago • 4 comments

What version of Hls.js are you using?

1.5.20 and 1.6.12

What browser (including version) are you using?

Chrome 140.0.7339.208 (Official Build) (64 bit)

What OS (including version) are you using?

windows 11 Pro

Test stream

https://ps-wow1.telecomitalia.it:4430/live/test-encoder/playlist.m3u8

Configuration

{
  "debug": true,
  "enableWorker": true,
  "lowLatencyMode": true,
  "backBufferLength": 90
}

Additional player setup steps

No response

Checklist

  • [x] The issue observed is not already reported by searching on Github under https://github.com/video-dev/hls.js/issues
  • [x] The issue occurs in the stable client (latest release) on https://hlsjs.video-dev.org/demo and not just on my page
  • [x] The issue occurs in the latest client (main branch) on https://hlsjs-dev.video-dev.org/demo and not just on my page
  • [x] The stream has correct Access-Control-Allow-Origin headers (CORS)
  • [x] There are no network errors such as 404s in the browser console when trying to play the stream

Steps to reproduce

play https://ps-wow1.telecomitalia.it:4430/live/test-encoder/playlist.m3u8 using hls.js 1.5.20 / hls.js 1.6.12

Expected behaviour

the stream is correctly played both with hls.js 1.5.20 and hls.js 1.6.12

What actually happened?

The stream is correctly played

log-1.5.20-OK.log log-1.6.12-KO.log

with hls.js 1.5.20 but not with hls.js 1.6.13 (nothing is shown)

Console output

See attached log files.

Chrome media internals output


survto avatar Sep 30 '25 14:09 survto

Maybe your asset is region locked? I cannot play it in Safari or HLS.js with multiple network timeouts on the media playlist,

hls.js:32246 [warn] > timeout while loading https://ps-wow1.telecomitalia.it:4430/live/test-encoder/chunklist_w1466229522_ao.m3u8
hls.js:32229 [error] > 0 while loading https://ps-wow1.telecomitalia.it:4430/live/test-encoder/chunklist_w1466229522_vo.m3u8
hls.js:36473 [warn] > [playlist-loader]: A network error (status 0) occurred while loading level: 0 id: 0

hls-demo.js:29101 Fatal error : levelLoadError undefined

hls.js:32159  GET https://ps-wow1.telecomitalia.it:4430/live/test-encoder/chunklist_w1466229522_vo.m3u8 
hls.js:32159  GET https://ps-wow1.telecomitalia.it:4430/live/test-encoder/chunklist_w1466229522_ao.m3u8 net::ERR_HTTP2_PROTOCOL_ERROR

robwalch avatar Sep 30 '25 15:09 robwalch

log-1.6.12-KO.log

Looks like the main LL-HLS playlist is buffering ok:

[stream-controller]: Buffered main sn: 1381601 part: 1 of level 0 (part:[72.472-73.472]INDEPENDENT=YES > buffer:[30.934-73.467])

But the audio playlist is not producing any buffered content after append (buffered range is missing at the end):

[audio-stream-controller]: Buffered audio sn: 1374641 part: 5 of track 0 (part:[73.617-74.619] > buffer:)

robwalch avatar Sep 30 '25 15:09 robwalch

OK. I was able to reproduce the issue in v1.6.13, and play each media playlist individually.

There's an issue with the audio and video timestamp alignment in your stream. 1.5 had a work around for adjusting media timestamps that were not aligned with their expected playlist position because it caused more issues than it fixed.

robwalch avatar Sep 30 '25 16:09 robwalch

Thank you! BTW we'll try to investigate the reason why audio and video timestamps are not aligned.

survto avatar Oct 03 '25 08:10 survto