Skip to content

Video stops when seeked after a corrupt ts #7279

@Rezaraki

Description

@Rezaraki

What version of Hls.js are you using?

1.6.2

What browser (including version) are you using?

Version 136.0.7103.114 (Official Build) (64-bit)

What OS (including version) are you using?

windows 10

Test stream

https://hlsjs-test.s3.ir-thr-at1.arvanstorage.ir/1%2Findex.m3u8

Configuration

{levelLoadingTimeOut: 5000,
          maxMaxBufferLength: 60,
          backBufferLength: 90,
          autoStartLoad: true,}

Additional player setup steps

No response

Checklist

Steps to reproduce

  1. have a corrupt ts in your tses
  2. Seek to near end of the video or the given stream (any time after the corrupt ts reproduces the bug)

Expected behaviour

I expect the player to smoothly hop over the corrupt ts as it is done in VLC player.

What actually happened?

When sought to near end of the given stream (any time after the corrupt ts reproduces the bug) you will see that the stream freezes and sometimes after some time it will cut the video to I guess after the corrupt ts and you loose access to video before that

Console output

0.02 | Loading https://hlsjs-test.s3.ir-thr-at1.arvanstorage.ir/1%2Findex.m3u8
0.026 | Loading manifest and attaching video element...
0.05 | 1 quality levels found
0.051 | Manifest successfully loaded
0.076 | Media element attached

Error:
11.179 | Buffer stalled error

Chrome media internals output

blob:https://hlsjs.video-dev.org/6372e0e2-1f2c-44a2-b368-9ef8acf8b0e9
(kWebMediaPlayerDestroyed)

blob:https://hlsjs.video-dev.org/9c15c147-e6dd-4286-ae1a-b0bc66fc028c
(kWebMediaPlayerDestroyed)

blob:https://hlsjs.video-dev.org/1dfb0d69-dd99-4c6b-8bd0-26002e97f200
(kWebMediaPlayerDestroyed)

blob:https://hlsjs.video-dev.org/3b252a90-cd9a-4cc7-b360-103f7452f097
(kSuspended)

blob:https://hlsjs.video-dev.org/7b56154d-2982-4368-8d6c-fef64e9d5ecf5
(kWebMediaPlayerDestroyed)

blob:https://hlsjs.video-dev.org/1ce0eb7f-b21c-4ac4-b99e-828f70150f43
(kWebMediaPlayerDestroyed)

blob:https://hlsjs.video-dev.org/24523707-7d9c-45d1-be87-55979b4b98c8
(kSuspended)

blob:https://hlsjs.video-dev.org/c00e8e32-0b43-49e1-9867-3d72e934819b
(kWebMediaPlayerDestroyed)

blob:https://hlsjs.video-dev.org/725d1859-5a71-43f0-b0cf-a3c281840d1f
(kWebMediaPlayerDestroyed)

blob:https://hlsjs.video-dev.org/ab032608-9130-4faa-8e89-25593ad6b9aa
(kWebMediaPlayerDestroyed)

blob:https://hlsjs.video-dev.org/eaa39fb4-3f0d-4d6e-82fa-a508b4c5d110
(kWebMediaPlayerDestroyed)

blob:https://hlsjs.video-dev.org/81edb120-cbbb-4542-a454-1e24948e55c6
(kPlay)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions