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

Why does the audio play continuously without stopping, even for the documentation? #113

Open
jiapei100 opened this issue Sep 14, 2022 · 3 comments

Comments

@jiapei100
Copy link

Hi:

I actually just opened ipywebrtc official website: https://ipywebrtc.readthedocs.io/en/latest/VideoStream.html , and it seems the video (with audio) continue to play without stopping. Even if I can stop the video stream, the audio still keeps playing...

Is there a method to really control both video and audio streams from within jupyter notebook??

Thanks...

@martinRenou
Copy link
Collaborator

martinRenou commented Sep 15, 2022

The fact that you can still hear the audio playing is a bug in Chrome itself, which has been reported but marked as "won't fix".
If you use Firefox, you should hopefully not see this behavior (if nothing has changed since 2018 :D I admit I did not try).

Note that pressing pause on the video-stream pauses the video-stream, not the video source.

@maartenbreddels
Copy link
Owner

Was it chrome?

I actually get an error with brave:
Uncaught (in promise) DOMException: play() failed because the user didn't interact with the document first. https://goo.gl/xX8pDD

@martinRenou
Copy link
Collaborator

I actually get an error with brave:
Uncaught (in promise) DOMException: play() failed because the user didn't interact with the document first. https://goo.gl/xX8pDD

Interesting! I was not aware of this. This might have broken some things in ipywebrtc indeed.

It's probably unrelated to the original issue though.

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

3 participants