[Webkit-unassigned] [Bug 241480] New: [iOS] WKWebView WebRTC session loses microphone input when the app goes into the background

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 9 12:25:58 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=241480

            Bug ID: 241480
           Summary: [iOS] WKWebView WebRTC session loses microphone input
                    when the app goes into the background
           Product: WebKit
           Version: Other
          Hardware: iPhone / iPad
                OS: iOS 15
            Status: NEW
          Severity: Major
          Priority: P2
         Component: WebRTC
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ep at simplex.chat
                CC: youennf at gmail.com

iOS WKWebView WebRTC session loses microphone input when the app goes into the background, irrespective of the app entitlements.

The sound from the other connection peer remains active.

Interestingly, while the app is moved to recent apps view (I believe, the app is in the inactive phase), the microphone input is still active, it only disappears when the app goes into the the background phase.

When the app is returned to foreground (active phase), the microphone input resumes again.

This issue can be experimented with in our app: https://apps.apple.com/us/app/simplex-chat/id1605771084

The source code for the page in WKWebView: https://github.com/simplex-chat/simplex-chat/blob/stable/packages/simplex-chat-webrtc/src/call.ts

The source code for iOS: https://github.com/simplex-chat/simplex-chat/blob/stable/apps/ios/Shared/Views/Call/WebRTCView.swift

-- 
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/20220609/ec08f3af/attachment-0001.htm>


More information about the webkit-unassigned mailing list