The Wayback Machine - https://web.archive.org/web/20251119153640/https://github.com/video-dev/hls.js/issues/5653
Skip to content

Video freezing when switching quality #5653

@Sasha9393

Description

@Sasha9393

What version of Hls.js are you using?

v1.4.7

What browser (including version) are you using?

Chrome 114 (114.0.5735.130/.131)

What OS (including version) are you using?

Samsung S23 Ultra or Samsung S22 Ultra

Test stream

https://nvms14.cdn.privatehost.com/hls/contents/videos/75000/75624/75624,.mp4,_360p.mp4,_720p.mp4,?&lra=5000k&c=9&exp_time=1689248297&sign=33930a4fce1ac6060e4930ba28671884

Configuration

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

Additional player setup steps

No response

Checklist

Steps to reproduce

  1. on the demo https://hlsjs.video-dev.org/demo/
  2. start the video
  3. switch to 360p quality

Expected behaviour

toggle quality and the video plays on

What actually happened?

the video stops. The player shows that it is trying to play the video but cannot

Console output

31.165 | Media element detached
31.173 | Loading https://nvms14.cdn.privatehost.com/hls/contents/videos/75000/75624/75624,.mp4,_360p.mp4,_720p.mp4,?&lra=5000k&c=9&exp_time=1689248297&sign=33930a4fce1ac6060e4930ba28671884
31.198 | Loading manifest and attaching video element...
31.269 | Media element attached
31.418 | 3 quality levels found
31.419 | Manifest successfully loaded, trying to recover media error.
37.436 | Media element detached
37.444 | The video playback was aborted due to a corruption problem or because the video used features your browser did not support - PIPELINE_ERROR_DECODE: video decoder reinitialization failed
37.535 | Media element attached, trying to recover media error.
49.727 | Media element detached
49.738 | The video playback was aborted due to a corruption problem or because the video used features your browser did not support - PIPELINE_ERROR_DECODE: video decode error!
49.84 | Media element attached, trying to recover media error.
57.242 | Media element detached
57.248 | The video playback was aborted due to a corruption problem or because the video used features your browser did not support - PIPELINE_ERROR_DECODE: video decoder reinitialization failed
57.338 | Media element attached

Chrome media internals output

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions