In our webRTC application on iPad, if I unplug a wired headset during a call, I would not be able to hear others in the call anymore. It seems the audio output does not switch automatically from the headset to the iPad speaker.If I use a Bluetooth headset, then the audio output switches automatically to the iPad speaker and i can hear others fine. I was also be able to reproduce the same issue with other webRTC apps like Google Meet.
<rdar://problem/68692800>
Created attachment 423874 [details] Patch
Created attachment 423875 [details] Patch
Created attachment 423882 [details] Patch
Created attachment 423890 [details] Patch
Comment on attachment 423882 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=423882&action=review > Source/WebCore/ChangeLog:17 > + > + Nit: two blank lines > Source/WebCore/platform/audio/ios/MediaSessionHelperIOS.h:109 > +private: Nit: don't need a second `private` > Source/WebCore/platform/audio/ios/MediaSessionHelperIOS.mm:76 > + Nit: extra blank line
*** Bug 223182 has been marked as a duplicate of this bug. ***
Comment on attachment 423890 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=423890&action=review > Source/WebCore/ChangeLog:17 > + > + Nit: two blank lines > Source/WebCore/platform/audio/ios/MediaSessionHelperIOS.h:109 > +private: Do we need the second `private:`? > Source/WebCore/platform/audio/ios/MediaSessionHelperIOS.mm:76 > + Nit: extra blank line
Created attachment 424010 [details] Patch for landing
Created attachment 425003 [details] Rebasing
Committed r275417: <https://commits.webkit.org/r275417> All reviewed patches have been landed. Closing bug and clearing flags on attachment 425003 [details].
*** Bug 226075 has been marked as a duplicate of this bug. ***
*** Bug 209594 has been marked as a duplicate of this bug. ***
Is there a fix to this?
(In reply to Trung Le from comment #0) > In our webRTC application on iPad, if I unplug a wired headset during a > call, I would not be able to hear others in the call anymore. It seems the > audio output does not switch automatically from the headset to the iPad > speaker.If I use a Bluetooth headset, then the audio output switches > automatically to the iPad speaker and i can hear others fine. > I was also be able to reproduce the same issue with other webRTC apps like > Google Meet. Did you find a solution to this?