Summary: | MediaDevices devicechange event loop | ||
---|---|---|---|
Product: | WebKit | Reporter: | Jon Mudrick <the.jon.mudrick> |
Component: | Media | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED CONFIGURATION CHANGED | ||
Severity: | Normal | CC: | eric.carlson, glefebvr, jer.noble, jovanchohan, webkit-bug-importer, youennf |
Priority: | P2 | Keywords: | InRadar |
Version: | Safari 14 | ||
Hardware: | iPhone / iPad | ||
OS: | iOS 14 |
Description
Jon Mudrick
2021-06-11 07:59:51 PDT
For an additional data point - airpods pro only cause this loop when connected and in your ears. When removed from ears (not put back in case yet) the event loop stops. I'm also able to reproduce this error on my iPad mini 4 on iOS 14.8. When I plug in wired headphones on a page that has the users MediaStream from getUserMedia() being displayed, the "devicechange" event is being fired very frequently. When the headphones are unlplugged the "devicechange" event stops firing. This works for me on iOS 15.5 beta using this fiddle: https://jsfiddle.net/48utwfkh/ Marking as Configuration changed, please reopen otherwise. |