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
Pause is called by itself on media error, why? #1050
Comments
Please, follow the issue template first in order to ease identifying problems. It allows to get much more info. |
pause() is not invoked, but a video element pause event is triggered, and the video is playing when this occurs, so pause is definitely not invoked by us. difficult to provide a sample that will show the error, since it will only occur at certain stallbacks and after the hlsError event happens. Maybe it's this that causing it: hlsStreamStateTransition { previousState:IDLE } To get around this we now ignore pause events for devices other ios. |
Without any sample code or platform/browser info to reproduce, it's hard to help you out... |
@dighan You see this lines of code?
it calls media.pause() without checking the state of the player. I don't think it's our job to help you figure out how to fix the bugs and errors more than to report their existence. |
Your vision of collaborative work is quite disturbing especially for an open-source project. Anyway, the only thing we expect, it's a clear and detailed issue to help you and find the proper fix that will be profitable to all our users. |
The video.pause() method seems to be called by hls.js by itself. The reason is that I have very choppy video, but it should be my decision to pause, not the libraries.
This is a problem because it makes it difficult to detect if a user paused or it was hls.js .
Here is some console output.
I know for sure that I didn't call pause anywhere, because if I did, then a value would be updated.
The text was updated successfully, but these errors were encountered: