Bug: Infinite chunk request when refocusing window on next 13? #823
Labels
bug
Something isn't working
Status: Unconfirmed
A potential issue that we haven't yet confirmed as a bug
Is there an existing issue for this?
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
Reduced test case
https://elements-demo-nextjs.vercel.app/MuxPlayerDynamic
Steps to reproduce
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
The text was updated successfully, but these errors were encountered: