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

How to detect live stream is "stalled" state in Safari browser? #362

Open
howard80920 opened this issue Jun 12, 2023 · 5 comments
Open

How to detect live stream is "stalled" state in Safari browser? #362

howard80920 opened this issue Jun 12, 2023 · 5 comments
Assignees

Comments

@howard80920
Copy link

Safari version: 16.5(18615.2.9.11.4)
OvenPlayer version: v0.10.29

After instantiating a player and listening for the stateChange event, I attempted to monitor whether the stream was stalled. When I closed the streaming device, the Chrome browser's stateChanged event received data (prevstate: playing, newstate: stalled). Subsequently, an error state was triggered, and I reloaded the player. However, in Safari, the stateChanged not triggered.

I would like to know if there is any way to determine if the stream is currently stalled in Safari, or if there are alternative methods to trigger a reload after the stream stops?
Thanks!

@SangwonOh
Copy link
Member

@howard80920 Hi. Please tell me what kind of stream (WebRTC or HLS). Thanks.

@howard80920
Copy link
Author

@howard80920 Hi. Please tell me what kind of stream (WebRTC or HLS). Thanks.

@SangwonOh, I use HLS.

@SangwonOh
Copy link
Member

It was confirmed that stalled occurs. However, when the input stream is disconnected, it does not change to error state after changing to stalled state. I'll have to think about what circumstances I can reload the player.

@howard80920
Copy link
Author

It was confirmed that stalled occurs. However, when the input stream is disconnected, it does not change to error state after changing to stalled state. I'll have to think about what circumstances I can reload the player.

@SangwonOh , is there any progress on this issue?

@SangwonOh
Copy link
Member

@howard80920 I was so busy last year that I couldn't check the issues. From now on, we will check them one by one. Please Stay tuned.

@SangwonOh SangwonOh self-assigned this Jan 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants