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

Bug: Infinite chunk request when refocusing window on next 13? #823

Closed
1 task done
TikiCat7 opened this issue Nov 14, 2023 · 0 comments
Closed
1 task done

Bug: Infinite chunk request when refocusing window on next 13? #823

TikiCat7 opened this issue Nov 14, 2023 · 0 comments
Labels
bug Something isn't working Status: Unconfirmed A potential issue that we haven't yet confirmed as a bug

Comments

@TikiCat7
Copy link

TikiCat7 commented Nov 14, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Which Mux Elements/Packages does this apply to? Select all that apply

mux-player-react

Which browsers are you using?

Chrome, Other (add details below)

Which operating systems are you using?

macOS

Description

I'm using Ark, but also reproduced the same issue on chrome. I've also been able to reproduce the same issue with the demo in https://elements-demo-nextjs.vercel.app/MuxPlayerDynamic using the same playback Id. I'm getting an infinite number of requests for chunks, when playing a video after refocusing the browser tab after some time. I also could reproduce the same issue in my deployed app on Vercel.

Next: 13.5.6
@mux/mux-player-react: 2.2.0

Screenshot 2023-11-14 at 3 36 31 PM

Reduced test case

https://elements-demo-nextjs.vercel.app/MuxPlayerDynamic

Steps to reproduce

  1. Load the page with the player.
  2. Start the video.
  3. Pause the video.
  4. Navigate to another tab in the browser.
  5. Come back to the tab after some time.
  6. Open network tab and there is some kind of infinite recursion going on with requests for chunks erroring with a 429.

Current Behavior

After switching back to the tab with my Mux Player React component and pressing play it crashes the entire page due to the infinite network requests.

Expected Behavior

It should not do that.

Errors

hls.mjs:24242
429 (Too Many Requests)

What version of the package are you using?

2.2.0

@TikiCat7 TikiCat7 added bug Something isn't working Status: Unconfirmed A potential issue that we haven't yet confirmed as a bug labels Nov 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Status: Unconfirmed A potential issue that we haven't yet confirmed as a bug
Projects
None yet
Development

No branches or pull requests

1 participant