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

Player.html gives alert error message "data_channel_error" when playing is stopped #2045

Closed
canat opened this issue Apr 14, 2020 · 1 comment
Assignees

Comments

@canat
Copy link

canat commented Apr 14, 2020

Describe the bug
When playing a webrtc stream with player.html if you stop playing with stop button, you get a data_channel_error alert which you should press to continue.

Expected behavior
If you press stop button, you should not get a data_channel_error alert because there is no error for the user. Data Channel should be closed gracefully.

Desktop (please complete the following information):

  • Browser Chrome
    (For Firefox you dont get the alert)
@canat
Copy link
Author

canat commented Apr 14, 2020

Same error occurs also for stop publishing button in index.html.

One solution would be handling "data_channel_error" inside callbackError instead of giving an alert and closing data channels before this error occurs if possible.

@mekya mekya self-assigned this Apr 27, 2020
@mekya mekya closed this as completed May 5, 2020
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