WKWebView Micro auto muted in background

When my application goes into the background, the microphone I use in the webview via Webrtc is like muted by the system. When I put my app back in the foreground, the mics work again.

To Reproduce: Build an iOS app with Background modes Audio, Airplay and Picture in Picture , Voice over IP and Background processing modes Load in thewebview a website using WebRTC to open the mic. Once the mic opened, Put your app in Background. You will see on the Control Panel as your mic is still used by the Webview but has been put to off

Expected behavior: The micro must continue to works even in baclkground because i have all needed Background modes in the app. With Safari that works well, the micro continue to generate sample even if the app is in background

Test on iOS : 15.7.3 and 16.3.1

@Adrien-M did you find a workaround?

WKWebView Micro auto muted in background
 
 
Q