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
Post
Replies
Boosts
Views
Activity
Using WebRTC to open Camera, and RTCPeerConnection to exchange MediaStream , the MediaStreamTrack Video coming from iPhone not update width/height remotely, width and height change only on safari remote browser but not on Chrome or Edge of other participants
Since iOS 17.4 when open a camera in Safari, video stop when download popup appear and video doesn't restart expect when go to home menu and reopen Safari
This comportment wasn't present before 17.4
To Reproduce : https://zcqqjd.csb.app/
Step 1 : Click on start Camera
Step 2 : Click on Download Picture