Skip to content
This repository was archived by the owner on Apr 4, 2023. It is now read-only.

Commit dfde2e7

Browse files
iOS ML Kit UI Fixes and misc #739 (turned out that resolution is not available)
1 parent 3aa0939 commit dfde2e7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/mlkit/mlkit-cameraview.ios.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export abstract class MLKitCameraView extends MLKitCameraViewBase {
5656

5757
// begin the session
5858
this.captureSession = AVCaptureSession.new();
59-
this.captureSession.sessionPreset = AVCaptureSessionPreset960x540;
59+
this.captureSession.sessionPreset = AVCaptureSessionPreset640x480;
6060

6161
const captureDeviceInput = AVCaptureDeviceInput.deviceInputWithDeviceError(this.captureDevice);
6262
this.captureSession.addInput(captureDeviceInput);

0 commit comments

Comments
 (0)