[Webkit-unassigned] [Bug 197703] New: BUG: iOS 12.2: Safari: MediaDevices.getUserMedia: video.srcObject: MediaStream: Front facing camera on iPhone X is slow/laggy/blurred

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 8 12:22:36 PDT 2019


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

            Bug ID: 197703
           Summary: BUG: iOS 12.2: Safari: MediaDevices.getUserMedia:
                    video.srcObject: MediaStream: Front facing camera on
                    iPhone X is slow/laggy/blurred
           Product: WebKit
           Version: Safari 12
          Hardware: iPhone / iPad
                OS: iOS 12
            Status: NEW
          Severity: Minor
          Priority: P2
         Component: WebRTC
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: michael at avatarlabs.com
                CC: youennf at gmail.com

Created attachment 369408

  --> https://bugs.webkit.org/attachment.cgi?id=369408&action=review

iOS Safari 12.2 blurry/laggy webcam video

Steps:
On an iPhone X running iOS 12.2, open Safari.

Go to https://webrtc.github.io/samples/src/content/getusermedia/gum/

Click the "Open camera" button.

Click "Allow" on the permission modal dialog.

Source Code:
https://github.com/webrtc/samples/tree/gh-pages/src/content/getusermedia/gum

Result:
The camera frame rate seems to be slow and the camera capture rate seems to be slow causing blurriness in the video and making it a bit harder to get a sharp picture if using this as a preview for a selfie capture (which is what I am doing).

Expected Result:
The frame rate should be at a normal'ish frames per second (I don't know, I guess 30 or above?).

Additional Notes:
Task switching away from Safari and back, makes the video play at a high frame rate again, but the video now has black bars on the sides.

This reproduces on another project I am working on that is using a very similar code path.

Environment:
This reproduced on everyone's phone in the office that is running iOS 12.2.

iPhone X (MQA52LL/A)

iOS/Safari 12.2

Thank you!

-- 
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/20190508/f63efda2/attachment-0001.html>


More information about the webkit-unassigned mailing list