Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shaka freezes when there are many players on the page (video decode error) #7612

Open
Kalynov opened this issue Nov 17, 2024 · 3 comments
Open
Labels
status: waiting on response Waiting on a response from the reporter(s) of the issue type: external An issue with an external dependency; not our issue; sometimes kept open for tracking

Comments

@Kalynov
Copy link

Kalynov commented Nov 17, 2024

Have you read the FAQ and checked for duplicate open issues?
Yes

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

What version of Shaka Player are you using?
4.12.0

Can you reproduce the issue with our latest release version?
Yes

Can you reproduce the issue with the latest code from main?
No

Are you using the demo app or your own custom app?
use custom app

If custom app, can you reproduce the issue using our demo app?
no

What browser and OS are you using?
google chrome 130.0.6723.117
windows server 2019 standart

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

What are the manifest and license server URIs?
https://download.tsi.telecom-paristech.fr/gpac/DASH_CONFORMANCE/TelecomParisTech/mp4-live-periods/mp4-live-periods-mpd.mpd

What configuration are you using? What is the output of player.getNonDefaultConfiguration()?
I use default config
{}

What did you do?
I added 10 identical players to the page with the same link (and different) to the DASH manifest, “Hardware graphics acceleration” was enabled in the browser.

What did you expect to happen?
players work stably all the time, video plays, no errors, RAM consumption does not increase

What actually happened?
within 1-2 minutes after turning on the video, the browser consumes more than 6GB of RAM and the tab crashes. no errors appear in the console.

If you turn off “hardware graphics acceleration” in the browser, memory consumption does not increase, but after ~15 minutes the players freeze, video playback stops in all players. there are no errors in the console.

One day the error "video decode error" appeared in the console
image

Are you planning send a PR to fix it?
Uncertain at this moment

@Kalynov Kalynov added the type: bug Something isn't working correctly label Nov 17, 2024
@shaka-bot shaka-bot added this to the v4.13 milestone Nov 18, 2024
@avelad
Copy link
Member

avelad commented Nov 18, 2024

This doesn't seem like a Shaka error but rather a bug from the browser itself when managing multiple MSEs... I think you should open the issue at https://issues.chromium.org/

@avelad avelad added type: external An issue with an external dependency; not our issue; sometimes kept open for tracking status: waiting on response Waiting on a response from the reporter(s) of the issue and removed type: bug Something isn't working correctly labels Nov 18, 2024
@shaka-bot shaka-bot removed this from the v4.13 milestone Nov 18, 2024
@Kalynov
Copy link
Author

Kalynov commented Nov 18, 2024

in Firefox the behavior is similar
also managed to reproduce the problem in your reference app and got an error
image

@shaka-bot shaka-bot removed the status: waiting on response Waiting on a response from the reporter(s) of the issue label Nov 18, 2024
@joeyparrish
Copy link
Member

For Chrome, see https://crbug.com/, for Firefox, see https://bugzilla.mozilla.org/

@joeyparrish joeyparrish added the status: waiting on response Waiting on a response from the reporter(s) of the issue label Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: waiting on response Waiting on a response from the reporter(s) of the issue type: external An issue with an external dependency; not our issue; sometimes kept open for tracking
Projects
None yet
Development

No branches or pull requests

4 participants