[Webkit-unassigned] [Bug 239849] [SafariViewServices] WebRTC can’t access camera feed when returning from a native application

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 29 06:39:08 PDT 2023


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

milen <milen.yordanov at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |milen.yordanov at gmail.com

--- Comment #5 from milen <milen.yordanov at gmail.com> ---
I tested it on iOS 16.4, the issue is still present.

This is what happens:

### Safari Mode

1) Open Safari.
1.1) Navigate to https://safari-15-webrtc-issues.netlify.app
1.2) Switch to another app
1.3) Switch back to Safari
1.4) The video track receives events 'muted' and 'unmuted'. The audio track receives no events.
1.5) The app continues to work as expected.


### Homescreen standalone app

2) Open Safari, navigate to https://safari-15-webrtc-issues.netlify.app, Add to Homescreen to install the app on the iPhone
2.1) Open the app from the homescreen
2.2) Switch to another app
2.3) Switch back to the app
2.4) Both video and audio tracks receive event 'ended'. track.readyState is also 'ended'. 
2.5) The app does not work anymore. The stream is not usable and GUM have to be called again. The user have to allow usage of the webcam and the mic, AGAIN.


Is this the expected behaviour of the apps installed to the homescreen?

To me it seems like a BUG. Just switching to another app should not KILL the audio and video streams.

-- 
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/20230329/42c1c3c8/attachment.htm>


More information about the webkit-unassigned mailing list