Bug 246019 - [Iphone 14 Pro] MediaStream Audio Track stops working because of audio context interaction
Summary: [Iphone 14 Pro] MediaStream Audio Track stops working because of audio contex...
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebRTC (show other bugs)
Version: Safari 16
Hardware: iPhone / iPad iOS 16
: P2 Blocker
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-10-04 07:34 PDT by ivan.zahrodskyi
Modified: 2022-12-12 07:53 PST (History)
6 users (show)

See Also:


Attachments
small sample to reproduce the issue (440 bytes, text/html)
2022-10-04 07:34 PDT, ivan.zahrodskyi
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description ivan.zahrodskyi 2022-10-04 07:34:42 PDT
Created attachment 462787 [details]
small sample to reproduce the issue

If I creating and interacting with AudioContext it is brokes local audio tracks.
Steps:
- create audio context
- do something (e.q. createGain)
- get local media
- assing to video element

Actual result:
- no audio and MediaStreamTrack ended due to a capture failure after few seconds. And you cant get any audio track anymore at this page


I created small sample to reproduce the issue.

Iphone 14 Pro, iOS 16.0.2

Issue is reproducible only on iphone 14 Pro (we tested on 2 devices)

Don't reproducible on iphone 13 pro and iphone 12 pro
Comment 1 Radar WebKit Bug Importer 2022-10-04 11:51:52 PDT
<rdar://problem/100774523>
Comment 2 rychouwei 2022-10-13 20:03:29 PDT
We have same issue
Comment 3 Vincent 2022-11-21 04:53:35 PST
we have same issue on iphone14 pro and iphone14 pro max.
We have tested on 4 devices.

When you have this issue, you could not create any new audio tracks at this page and another tab page.

This is my demo's URL:
https://www.neil9111.com/rtc-wtf/webaudio.html

You can click these buttons in order of 'play','resume webaudio','stop','play',
eventually you won't be able to hear it on iphone14 pro, iphone14 pro max.
But it works fine on other devices.
Comment 4 PhungDuong 2022-12-06 19:57:42 PST
Iphone 14 pro iOS 16.1.2

When joining meetings via WebRTC video call.
Can't speak or hear any from others.
Frequency is 100%.
Comment 5 PhungDuong 2022-12-06 19:58:02 PST
Iphone 14 pro iOS 16.1.2

When joining meetings via WebRTC video call.
Can't speak or hear any from others.
Frequency is 100%.
Comment 6 youenn fablet 2022-12-09 00:29:18 PST
Can you reproduce in latest iOS 16.2 beta?
Comment 7 Davy De Durpel 2022-12-12 03:03:02 PST
I can confirm that for my application it seems to work like a charm again with 16.2 beta.  I tested multiple times in several combinations and I always got the expected result.  So please release 6.2 tomorrow ;-)
Comment 8 youenn fablet 2022-12-12 07:53:08 PST
Marking as configuration changed.