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

'RuntimeException: undefined' when destroying player #197

Open
debashishVaaan opened this issue May 31, 2024 · 2 comments
Open

'RuntimeException: undefined' when destroying player #197

debashishVaaan opened this issue May 31, 2024 · 2 comments

Comments

@debashishVaaan
Copy link

If I create a player and destroy it before the connection to the websocket is complete then I get 'RuntimeException: undefined' in the websocket-loader.js file at line 142.
I am building a livestream application and often times users change cameras rapidly even before the current one is loaded and then it throws this error.

Screenshot (94)

@debashishVaaan
Copy link
Author

If I make changes in websocket-loader.js to not throw this error then I start getting errors various other MediaSource errors

@debashishVaaan
Copy link
Author

Switched from Websockets to http2, now no longer facing the issue.

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

1 participant