Bug 241680 - Distorted audio from Safari user after 10 minutes in the webrtc call
Summary: Distorted audio from Safari user after 10 minutes in the webrtc call
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebRTC (show other bugs)
Version: Safari 15
Hardware: Mac (Intel) macOS 11
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-06-16 05:29 PDT by ivan.zahrodskyi
Modified: 2022-09-15 08:45 PDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ivan.zahrodskyi 2022-06-16 05:29:12 PDT
Audio becomes distorted after 10 minutes in the webrtc call.

To reproduce the problem 
1) join google meet (or any other webrtc solution) from safari
2) join another participant (I used chrome on another laptop and tried safari on another laptop)
3) wait ~10 minutes
4) chrome participant starts hearing distorted audio from safari user

Issue is reproducible on macOS 11.6.5-11.6.6 (MacBook 15” late 2013, MacBook 15” mid 2015) (always)

Was not able to reproduce the issue with the mac mini 2018 and MacBook Pro 16” 2019 (macOS 12.4. with Safari 15.5)
Comment 1 youenn fablet 2022-06-16 05:47:56 PDT
> Issue is reproducible on macOS 11.6.5-11.6.6 (MacBook 15” late 2013, MacBook
> 15” mid 2015) (always)

Which Safari were you using there?
Were you able to reproduce with Safari Tech Preview?
Comment 2 ivan.zahrodskyi 2022-06-16 06:58:00 PDT
Reproducible on safari 15.4 and 15.5 

NOTE: this is reproducible only on old devices 2013-2015 years...and not on the newest (macbook pro 16 2019 works fine)
Comment 3 youenn fablet 2022-06-16 08:14:41 PDT
Could you reproduce the issue and send me a sysdiagnose (youenn@apple.com) with the precise time the audio becomes distorted?
Comment 4 Radar WebKit Bug Importer 2022-06-23 05:30:13 PDT
<rdar://problem/95769350>
Comment 5 Malcolm 2022-08-15 03:35:24 PDT
We are facing a very similar issue with WebRTC connections from iPad devices. Reports of impacted device types:

Model name: iPad (6th Gen)
Model number: MR7F2B\A

Model name: iPad Pro 10.5"
Model number is A1709

Tested WebRTC platforms:

Pexip
Google Meet

Similarly to the report above, the issue does not occur straight away but can take up to ~10 minutes to appear. The iPad's audio will then become grossly distorted, almost to the point of unintelligibility.

NB - we had been impacted by this bug before:
https://bugs.webkit.org/show_bug.cgi?id=239285

We have noticed that the same workaround of connecting a device to the 3.5mm jack resolves the issue. However, if the device is disconnected, the issue will eventually return.
Comment 6 youenn fablet 2022-08-16 05:45:58 PDT
(In reply to Malcolm from comment #5)
> We are facing a very similar issue with WebRTC connections from iPad
> devices. Reports of impacted device types:
> 
> Model name: iPad (6th Gen)
> Model number: MR7F2B\A
> 
> Model name: iPad Pro 10.5"
> Model number is A1709
> 
> Tested WebRTC platforms:
> 
> Pexip
> Google Meet
> 
> Similarly to the report above, the issue does not occur straight away but
> can take up to ~10 minutes to appear. The iPad's audio will then become
> grossly distorted, almost to the point of unintelligibility.
> 
> NB - we had been impacted by this bug before:
> https://bugs.webkit.org/show_bug.cgi?id=239285
> 
> We have noticed that the same workaround of connecting a device to the 3.5mm
> jack resolves the issue. However, if the device is disconnected, the issue
> will eventually return.

Can you tell us whether this is reproducible in the latest iOS 15.6 release?
Comment 7 Malcolm 2022-08-16 23:37:55 PDT
Hi Youenn,

I can confirm that the reports were specifically concerning iOS 15.6. Furthermore I have heard that the "fix" of connecting a device to the 3.5mm jack only works for a few minutes, even if the device is left connected. Eventually the distorted audio will return.

If there is some diagnostic info that could help that can be pulled from the iPad then we should be able to provide it.

Regards,
Malcolm
Comment 8 youenn fablet 2022-08-16 23:59:44 PDT
(In reply to Malcolm from comment #7)
> Hi Youenn,
> 
> I can confirm that the reports were specifically concerning iOS 15.6.
> Furthermore I have heard that the "fix" of connecting a device to the 3.5mm
> jack only works for a few minutes, even if the device is left connected.
> Eventually the distorted audio will return.
> 
> If there is some diagnostic info that could help that can be pulled from the
> iPad then we should be able to provide it.
> 
> Regards,
> Malcolm

@Malcolm, if you can reproduce the issue, can you send me a sysdiagnose (youenn@apple.com) with the timestamp where the issue starts reproducing?

Also, do you have reliable repro steps? Is it just about waiting 10 minutes in a Google Meet call on Safari?
Comment 9 Malcolm 2022-08-17 09:04:19 PDT
Hi Youenn,

As requested I shared a link for the sysdiagnose file via email, along with an MP4 of the issue. Correct, it is enough to simply join from an affected device and wait a few minutes. In the latest reproduction it was less than 6 minutes.

Regards,
Malcolm
Comment 10 Malcolm 2022-08-25 04:33:55 PDT
Hi Youenn,

Just checking on this one - did you manage to find anything of note in the sysdiagnose that was uploaded?

Regards,
Malcolm
Comment 11 olena.bezkrovna 2022-09-15 08:45:18 PDT
Hi Youenn,

Do you need any additional info?

We also observe issue with distorted audio on IOS 16 same as before on some MacBook models (macOS 11.7 (MacBook 15” late 2013, MacBook 15” mid 2015)) and some iPad models (iPad Pro 10.5" 1st/2nd gen, iPad (7th Gen))