Bug 221008

Summary: WebRTC - Disconnecting Airpods does not reroute audio output
Product: WebKit Reporter: topherauyeung
Component: WebRTCAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: eric.carlson, jer.noble, youennf
Priority: P2    
Version: Safari 14   
Hardware: Unspecified   
OS: Unspecified   

Description topherauyeung 2021-01-26 13:23:58 PST
Steps to reproduce:
1. Open one (or both) of the following webRTC test pages in Safari with Airpods connected: https://webrtc.github.io/test-pages/src/single-audio/ or https://webrtc.github.io/test-pages/src/audio-and-video/
2. Remove your Airpods and put them back in their case, effectively disconnecting that audio source

Actual results:
1. Video freezes
2. Audio output ceases entirely

Expected results:
1. Video should not freeze
2. Audio output should reroute to the native computer speakers (this is what happens in Chrome, if you want to see expected behavior)
Comment 1 Eric Carlson 2021-01-29 08:13:15 PST
Chrome's behavior is a incorrect, see https://bugs.chromium.org/p/chromium/issues/detail?id=1172033.