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: 2023-06-08 13:01 PDT (History)
9 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))
Comment 12 Malcolm 2022-10-07 06:16:29 PDT
Hi Youenn,

We were doing some further testing with the recently released iOS 15.7 for iPad and made a couple of observations:

The issue is still reproducible with the iPad (6th Gen) Model number: MR7F2B\A that we have used for most testing. I believe that this model is equipped with an A10 chip. However it is not reproducible with a couple of other iPads (namely iPad Air2 and iPad Air3). I understand that those have A8 and A12 respectively.

Looking at the reports of the issue so far, we have had iPad Pro 10.5"as well as iPad 6th and 7th Gen. I think it's correct to say that these all have an A10 chipset - could this issue be specific to that?

Regards,
Malcolm
Comment 13 Malcolm 2022-10-26 06:29:03 PDT
As we now have iOS 16.1 for iPad we did some more testing and unfortunately the issue is still reproducible with the iPad (6th Gen) Model number: MR7F2B\A. In fact, the results seemed to be worse on 16.1 than on 15.x as we now also have an issue with the audio pitch, which alternates between too low and too high. This new issue is apparently from the beginning of the call, whereas the original issue (crackling) still takes between 5 and 10 minutes to kick in. At that point, both of the audio glitches can be heard from the iPad user at the same time.
Comment 14 darren 2022-11-17 01:16:20 PST
Hi Youenn,

Just checking on this one, is there any progress?

Regards,
Darren
Comment 15 youenn fablet 2022-11-17 01:37:30 PST
(In reply to darren from comment #14)
> Hi Youenn,
> 
> Just checking on this one, is there any progress?
> 
> Regards,
> Darren

This is being investigated.
Comment 16 Malcolm 2022-12-19 00:17:06 PST
Hi Youenn,

Just wondered if there had been any further progress? 

Regards,
Malcolm
Comment 17 youenn fablet 2022-12-19 00:31:41 PST
(In reply to Malcolm from comment #13)
> As we now have iOS 16.1 for iPad we did some more testing and unfortunately
> the issue is still reproducible with the iPad (6th Gen) Model number:
> MR7F2B\A. In fact, the results seemed to be worse on 16.1 than on 15.x as we
> now also have an issue with the audio pitch, which alternates between too
> low and too high.

This should only be transitionary, are you saying you are hearing these changes al the time?
Comment 18 Malcolm 2022-12-19 01:23:01 PST
Hi Youenn,

On 15.x we had the issue of the audio distortion kicking in after between 5-10 minutes.

On 16.1 we still have the above issue, but also an additional issue regarding the audio pitch, which alternates between too high and too low. This issue happens persistently throughout the call.

Regards,
Malcolm
Comment 19 Malcolm 2023-01-22 23:47:07 PST
Hi there,

Just checking if there was any news on this one, or if there's anything else we can do to help diagnose the issue?

Regards,
Malcolm
Comment 20 darren 2023-01-24 02:28:16 PST
Hello Youenn,

We have tested 16.3 this morning and the issues described by Malcolm in https://bugs.webkit.org/show_bug.cgi?id=241680#c18 are still present, we can share a recording of this if it would help.

Rgds
Darren
Comment 21 darren 2023-03-06 02:50:49 PST
Hello,

Just checking in for an update, is there any progress on this one?

Thanks
Darren
Comment 22 darren 2023-03-16 07:18:06 PDT
This week we tested IOS16.4 beta and there is a significant improvement in the audio, we no longer encounter distortion after the 5-minute mark.

There are some pitch issues throughout the call and we also noticed some ‘popping’ when the participant spoke, I'm not sure if this is related to the pitch issue.
Comment 23 Rico 2023-03-29 00:41:01 PDT
We can confirm the same issues in WebRTC in Pexip Infinity.
this makes it very hard to understand what the person from the iPad says, beacuse of the distortion that start at almost exaclty 5 min in. if we disconnect we get 5 min again until the distortion start again.


We can also see the same thing as mentioned in the thread, that it works on newer devices and this bug is releated to older specific models.

The devices we have tested on is a:
iPad Gen 7 - MW6A2KN  on the new 16.4 release (29/3-2023)
Comment 24 Brent Fulgham 2023-06-08 13:01:04 PDT
This is actually being tracked under:
<rdar://99744591>