ipywebrtc
ipywebrtc copied to clipboard
Why does the audio play continuously without stopping, even for the documentation?
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...
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.
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
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.