w3c / mediacapture-extensions

Extensions to Media Capture and Streams by the WebRTC Working Group
https://w3c.github.io/mediacapture-extensions/
Other
19 stars 15 forks source link

Detect OS-level mutation? #67

Closed yuhonglin closed 2 years ago

yuhonglin commented 2 years ago

Hi all,

It seem currently the mute event and the muted status of MediaStreamTrack don't reflect the OS-level settings. For example, if a user mutes the mic in OS setting, there is no way for webapps to get notified about it. How do you think we make OS-level mutation also trigger the "mute" event?

Thanks!

youennf commented 2 years ago

How do you think we make OS-level mutation also trigger the "mute" event?

This is the intent of the spec AFAIUI, though this is a UA choice. Maybe this is just a limitation of current implementations in which case bug reports on corresponding UA might help?

yuhonglin commented 2 years ago

Ah, cool. That is good news. I am actually a chrome/chromeOS developer :) and I think we will be glad to implement it in chromeOS.

youennf commented 2 years ago

As a side note, there is also https://bugs.chromium.org/p/chromium/issues/detail?id=1285805 in that area that would be nice to implement.

yuhonglin commented 2 years ago

Cool, thanks! I know little about Android system... but that tracker is indeed a nice reference. Glad to see people like hta@chromium.org agree with the idea.

yuhonglin commented 2 years ago

Filed https://crbug.com/1332501. Mark it as Pr-3 because there is still no concrete plan for it.

yuhonglin commented 2 years ago

closed this issue and conversation about implementation on cros continues on https://crbug.com/1332501