Bug 246019

Summary: [Iphone 14 Pro] MediaStream Audio Track stops working because of audio context interaction
Product: WebKit Reporter: ivan.zahrodskyi
Component: WebRTCAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Blocker CC: anzhaowei, davy.de.durpel, ddp.bkdn, rychouwei, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: Safari 16   
Hardware: iPhone / iPad   
OS: iOS 16   
Attachments:
Description Flags
small sample to reproduce the issue none

ivan.zahrodskyi
Reported 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
Attachments
small sample to reproduce the issue (440 bytes, text/html)
2022-10-04 07:34 PDT, ivan.zahrodskyi
no flags
Radar WebKit Bug Importer
Comment 1 2022-10-04 11:51:52 PDT
rychouwei
Comment 2 2022-10-13 20:03:29 PDT
We have same issue
Vincent
Comment 3 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.
PhungDuong
Comment 4 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%.
PhungDuong
Comment 5 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%.
youenn fablet
Comment 6 2022-12-09 00:29:18 PST
Can you reproduce in latest iOS 16.2 beta?
Davy De Durpel
Comment 7 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 ;-)
youenn fablet
Comment 8 2022-12-12 07:53:08 PST
Marking as configuration changed.
Note You need to log in before you can comment on or make changes to this bug.