[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
Sat Mar 18 12:43:34 PDT 2023


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

thompsoncwt at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |thompsoncwt at gmail.com

--- Comment #12 from thompsoncwt at gmail.com ---
I wrestled with this bug for many months but I think I finally discovered what triggers it. It seems (to me) that it is triggered when you close the app while a portion of the video is off-screen, or after it has been sent off-screen. 

Two ways that seem to reliably reproduce the bug:
1. Have the video element/recording be bigger than the screen and part of the video is clipped or off-screen, then close the app.
2. Have no part of the video element be off screen, but send it off screen for example by using a text input that brings up the keyboard, then close the app.

After either of those 2 things happen, the app will no longer be able to play the stream from getUserMedia(), even after closing and reopening the app. #2 is especially frustrating for my situation because I prompt users to input a title for their recording, which can trigger the bug if users close the app while on that page. This only happens while the app is in PWA mode on iOS, never while using the Safari browser on iOS, and never on a Mac or other PC with either Safari or Chrome.

The only way I've found to recover functionality is to either restart the device like mentioned by Chris, or what has worked for me is closing the app while the prompt that asks the users to Allow the app to access microphone and camera is visible on screen.

-- 
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/20230318/98ea6b2c/attachment.htm>


More information about the webkit-unassigned mailing list