Skip to content

Configure live polling update tolerance #7023

@qiushaocloud

Description

@qiushaocloud

What version of Hls.js are you using?

v1.5.20

What browser (including version) are you using?

safari

What OS (including version) are you using?

iphone, ios

Test stream

No response

Configuration

{}

Additional player setup steps

No response

Checklist

Steps to reproduce

  1. Open the HLS.js player in Safari on an iPhone and start playing an HLS stream.
  2. Background the Safari browser, allowing the device to automatically lock and turn off the screen.
  3. Stop the OBS stream and wait for a few minutes.
  4. Reopen Safari and return to the HLS.js player.

Expected behaviour

After reopening Safari, the player should detect that the stream has stopped and throw an error event.

What actually happened?

The player remains in a loading state indefinitely without throwing any error event, even though the stream has stopped.

Console output

not error event

Chrome media internals output

Metadata

Metadata

Type

No type

Projects

Status

Top priorities

Relationships

None yet

Development

No branches or pull requests

Issue actions