Bug 241480
Summary: | [iOS] WKWebView WebRTC session loses microphone input when the app goes into the background | ||
---|---|---|---|
Product: | WebKit | Reporter: | Evgeny <ep> |
Component: | WebRTC | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Major | CC: | webkit-bug-importer, youennf |
Priority: | P2 | Keywords: | InRadar |
Version: | Other | ||
Hardware: | iPhone / iPad | ||
OS: | iOS 15 | ||
See Also: |
https://bugs.webkit.org/show_bug.cgi?id=226620 https://bugs.webkit.org/show_bug.cgi?id=233419 |
Evgeny
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
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/95321578>