- From: Philipp Sonntag via GitHub <sysbot+gh@w3.org>
- Date: Mon, 30 Aug 2021 10:19:24 +0000
- To: public-webrtc@w3.org
sonntag-philipp has just created a new issue for https://github.com/w3c/mediacapture-main: == MediaStreamTrack.stop() should be async == Hello there, I'm currently working with the mediacapture api in different browsers. While working on the MediaStreamTracks, I've noticed that the stop method doesn't provide a way to get notified when the track is actually stopped by the underlying user agent. This can cause issues in platforms, where a camera can only be opened once by the browser api. My proposal for a solution would be, to make the .stop() method async by returning a promise. The promise should be resolved, when the user agent made sure, that the media track is stopped. Please view or discuss this issue at https://github.com/w3c/mediacapture-main/issues/817 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 30 August 2021 10:19:26 UTC