Skip to content

Infinite loading on HLS archive playback after upgrading to Shaka Player #8889

@UnderLenny

Description

@UnderLenny

Have you read the FAQ and checked for duplicate open issues?
Yes. We've found a similar issueye but none exactly matching our case: #8799

If the problem is related to FairPlay, have you read the tutorial?
Not related to FairPlay.

What version of Shaka Player are you using?
Tested on:

v4.9.17

v4.15.6

v4.15.7

v4.14.22

Can you reproduce the issue with our latest release version?
Bug reproduced on v4.15.6, v4.15.7, 4.9.17 and v4.14.22

Can you reproduce the issue with the latest code from main?
Not tested with main yet.

Are you using the demo app or your own custom app?
Custom React-based web app using Shaka Player.

If custom app, can you reproduce the issue using our demo app?
No, we didn't check it in demo

What browser and OS are you using?
User A
AMD Ryzen 5 2600, NVIDIA Geforce RTX 3060 12gb
Windows 10 Pro 2009 10.‎06.‎2024, OS build 19045.5608
Reproduced on Google Chrome 138.0.7204.101 / Windows 10 (user 1)

User B
MacBook Pro (16-inch, 2019) Intel
macOs Monterey 12.2.1 (21D62)
Reproduced on Google Chrome 138.0.7204.158 (x86_64)

For embedded devices (smart TVs, etc.), what model and firmware version are you using?
Not relevant.

What are the manifest and license server URIs?
I can't attach because of limited access. Content is standard HLS live stream.

What configuration are you using? What is the output of player.getNonDefaultConfiguration()?
{
streaming: {
bufferBehind: 10,
bufferingGoal: 10,
rebufferingGoal: 0,
segmentPrefetchLimit: 0,
},
}
What did you do?
Upgraded Shaka Player from 4.7.15 to 4.15.7. After this, in one of our team member's environments, the player enters a state of infinite loading for some live streams - stuck in a loop and never starts playback. Example of video looping: https://www.youtube.com/watch?v=Fc2I0_eRiCw

We also tested older versions:
On 4.15.6 and 4.15.7: bug only appears for user B, not user A.

On 4.14.22: bug behavior inconsistent and overall less stable.

On 4.9.17: now bug appears for user A as well, even though this version is supposed to include fixes for similar issues per existing GitHub threads.

What did you expect to happen?
Shaka Player should correctly start live playback without getting stuck in an infinite buffering loop.

What actually happened?
Playback gets stuck at the loading phase - player repeatedly tries to start but re-enters buffering. No playback starts.

Are you planning to send a PR to fix it?
Not at the moment. We’re currently blocked by this and would appreciate guidance or a fix from the core team.

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: waiting on responseWaiting on a response from the reporter(s) of the issuetype: bugSomething isn't working correctly

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions