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

Commit ea6bb71

Browse files
committed
chore(iOS): lower the recording resolution
1 parent 8e67c6c commit ea6bb71

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 = AVCaptureSessionPreset1280x720;
59+
this.captureSession.sessionPreset = AVCaptureSessionPreset960x540;
6060

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

0 commit comments

Comments
 (0)