-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Live HLS stream doesn't buffer and endlessly loads #779
Comments
According to video-dev/hls.js#656 this may have been fixed in It's not on CDNJS yet (see #768) but you can load the library yourself to hijack it (see #605 (comment)). Basically just include <script src="https://cdn.jsdelivr.net/npm/hls.js@latest"></script> Give it a go and let me know if that helps. |
Hi, thank you so much, this fixed our issue and the stream plays now! |
Hi How i put buffer time in react player? like it only buffer for next 30 seconds or any other? |
Using react-player for live streaming, but after an upgrade of the stream URLs, it is no longer working on our environments, though it is elsewhere. I'm importing FilePlayer directly and using a hls stream.
Current Behavior
Stream initially loads the first ~6 seconds but doesn't buffer. Once played time catches up with the initial 6 seconds that buffered, a spinner appears and the video never recovers.
Expected Behavior
Stream buffers and continues to play.
Steps to Reproduce
The stream URLs work everywhere except our environments. Content loads perfectly when testing URL through https://cookpete.com/react-player/ but when I pulled the react-player project and ran it locally, the above issue occurs there too.
Environment
Other Information
Console output of the errors I'm seeing:
Since I see this issue when I run react-player locally but not on the online demo, do you know of any differences between your production build and local build that might account for my issues? Or have you come across any similar issues before?
The text was updated successfully, but these errors were encountered: