Bug 197703 - BUG: iOS 12.2: Safari: MediaDevices.getUserMedia: video.srcObject: MediaStream: Front facing camera on iPhone X is slow/laggy/blurred
Summary: BUG: iOS 12.2: Safari: MediaDevices.getUserMedia: video.srcObject: MediaStrea...
Status: RESOLVED DUPLICATE of bug 196214
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebRTC (show other bugs)
Version: Safari 12
Hardware: iPhone / iPad iOS 12
: P2 Minor
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-08 12:22 PDT by micsun-al
Modified: 2019-05-08 12:24 PDT (History)
1 user (show)

See Also:


Attachments
iOS Safari 12.2 blurry/laggy webcam video (16.46 MB, video/mp4)
2019-05-08 12:22 PDT, micsun-al
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description micsun-al 2019-05-08 12:22:36 PDT
Created attachment 369408 [details]
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!
Comment 1 youenn fablet 2019-05-08 12:24:41 PDT
Probably a duplicate of bug 196214.
Please reopen otherwise.

*** This bug has been marked as a duplicate of bug 196214 ***