[Webkit-unassigned] [Bug 252465] In PWA, HTML Video Element may be unable to play stream from 'getUserMedia()'

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 14 21:51:37 PDT 2023


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

--- Comment #33 from Eric Pascal <ericdpascal at gmail.com> ---
(In reply to rooke from comment #32)
> This can reliably be reproduced with the following device:
> 
> Model Number: MXCX2VC/A
> iOS Version 16.5
> 
> Method: 
> 1) Open up an PWA that uses the camera.
> 2) Use the camera (however the PWA uses it, ultimately calling
> navigator.mediaDevices.getUserMedia()). It works normally.
> 3) Go to the app selection carousel (via swipe up from bottom, or
> double-tapping home button)
> 4) Swipe up on the PWA app's preview to close the app.
> 5) Open up the PWA app again
> 6) Go to the camera. It will be black/not showing. The following is returned
> from a call to navigator.mediaDevices.getUserMedia({ audio: false, video:
> true }):
> 
> MediaStreamTrack: {
> contentHint: ""
> enabled: true
> id: <a-uuid-redacted>
> kind: "video"
> label: "Front Camera"
> muted: true
> onconfigurationchange: null
> onended: null
> onmute: null
> onunmute: null
> readyState: "live"
> }

Thank you, I confim the same observations.
I would add that it reproduces very easily the same way on iPhone 11/12, less likely in iPhone X. It seems that when the network connection is fast, that the javascript loads fast (workers) it reproduces faster. If you close completely and reopen rapidly the application, it can be easily reproduced too.

-- 
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/20230615/55777a73/attachment.htm>


More information about the webkit-unassigned mailing list