[Webkit-unassigned] [Bug 243727] New: Web Audio API in WKWebView permanently muted after incoming call
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Aug 9 07:35:26 PDT 2022
https://bugs.webkit.org/show_bug.cgi?id=243727
Bug ID: 243727
Summary: Web Audio API in WKWebView permanently muted after
incoming call
Product: WebKit
Version: Safari 15
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Web Audio
Assignee: webkit-unassigned at lists.webkit.org
Reporter: ashley at scirra.com
CC: cdumez at apple.com
When using the Web Audio API in WKWebView, if the device receives an incoming call, it permanently mutes the AudioContext. This appears to be unrecoverable and the app has no way to restore audio playback. The AudioContext state is left as "running" but no audio output can be heard.
The issue does not appear to affect the Safari browser, which can correctly play audio after an incoming call; it only seems to affect content in WKWebView in an app. However this covers all content made with frameworks like Cordova. It causes customer complaints for our software Construct (www.construct.net) which uses Cordova, e.g.: https://github.com/Scirra/Construct-3-bugs/issues/5954
It is sufficient to call the device and hear the ringtone, and then hang up. There is no need to actually accept the call to reproduce the issue, merely receiving a call and declining will cause all audio output from WKWebView to stop.
Tested on an iPhone XS Max running iOS 15.6. I can provide a repro case using a full Cordova app, but I'm not sure how to prepare a minimal repro for WKWebView not using a framework like Cordova. I think that merely running any Web Audio sample in WKWebView and then calling the device ought to reproduce the issue. I can try to provide a minimal repro if you can advise on how to provide a minimal test case for WKWebView.
--
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/20220809/862fa4c1/attachment.htm>
More information about the webkit-unassigned
mailing list