Skip to content

Commit

Permalink
sq
Browse files Browse the repository at this point in the history
  • Loading branch information
ldalzottomp committed Mar 8, 2024
1 parent 71d2c63 commit 09699a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package/ios/Core/CameraSession.swift
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ class CameraSession: NSObject, AVCaptureVideoDataOutputSampleBufferDelegate, AVC
// Start/Stop session
if configuration.isActive {
captureSession.startRunning()
updateInputOrientation()
updateCaptureSessionInputOrientation()
delegate?.onCameraStarted()
} else {
captureSession.stopRunning()
Expand Down Expand Up @@ -296,7 +296,7 @@ class CameraSession: NSObject, AVCaptureVideoDataOutputSampleBufferDelegate, AVC
// restart capture session after an error occured
CameraQueues.cameraQueue.async {
self.captureSession.startRunning()
self.updateInputOrientation()
updateCaptureSessionInputOrientation()
}
}
}
Expand Down

0 comments on commit 09699a9

Please sign in to comment.