[Webkit-unassigned] [Bug 232822] New: Audio Rate Gets Messed up With Safari WebRTC and Bluetooth Switching

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 8 10:31:11 PST 2021


https://bugs.webkit.org/show_bug.cgi?id=232822

            Bug ID: 232822
           Summary: Audio Rate Gets Messed up With Safari WebRTC and
                    Bluetooth Switching
           Product: WebKit
           Version: Safari 15
          Hardware: iPhone / iPad
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebRTC
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: homerlex at gmail.com
                CC: youennf at gmail.com

Created attachment 443567

  --> https://bugs.webkit.org/attachment.cgi?id=443567&action=review

Testing with No Headset To Having Headset

While developing a web application that used WebRTC we found that there are conditions that cause Audio to get either sped up or slowed down when switching between using and not using a bluetooth headset.

I was able to come up with a simple repro case that doesn't involve any our custom code.

I've duplicated using iPhone mini (MG8F3LL/A) on iOS 15.1.  I have also duplicated on iPad Pro (MLMP2LL/A) on iOS 15.2 Beta.

Here are the repro steps:

* Turn off Bluetooth Devices
* In iOS Safari hit the following URL: https://webrtc.github.io/samples/src/content/getusermedia/audio/
* Notice that when you speak your voice is echoed back at you properly
* Now connect Bluetooth headset (I duplicate with both Airpods and Beats Flex)
* When you speak now it probably still sounds normal
* Now toggle the pause button (hit pause and then the play button)
* Now when you speak you hear that your voice is altered.  Sometimes the voice is high pitched and sometimes it is low pitched.

At this point refreshing the browser might not fix the audio.  You might have to restart Safari.

NOTE: In our application there are other scenarios (not exactly like the code in https://webrtc.github.io/samples/src/content/getusermedia/audio/) that result in similar audio problems but its too difficult to provide a simple repro case for those scenarios.

I have attached a recording of me speaking without bluetooth at first.  At the end of the video you can hear the very deep voice in the recording when I have Airpods on.

You can also duplicate by similar steps as above but start with the headset on and then removing them.  In this case the pitch of the audio gets higher.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20211108/0896e8c0/attachment.htm>


More information about the webkit-unassigned mailing list