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
<rdar://problem/95321578>