Update CameraView+Orientation.swift
This commit is contained in:
parent
bf71901968
commit
938cb2e42a
@ -32,7 +32,6 @@ extension CameraView {
|
|||||||
let isMirrored = self.videoDeviceInput?.device.position == .front
|
let isMirrored = self.videoDeviceInput?.device.position == .front
|
||||||
|
|
||||||
let connectionOrientation = self.outputOrientation
|
let connectionOrientation = self.outputOrientation
|
||||||
// Run those updates on cameraQueue since they can be blocking.
|
|
||||||
self.captureSession.outputs.forEach { output in
|
self.captureSession.outputs.forEach { output in
|
||||||
output.connections.forEach { connection in
|
output.connections.forEach { connection in
|
||||||
if connection.isVideoMirroringSupported {
|
if connection.isVideoMirroringSupported {
|
||||||
|
Loading…
Reference in New Issue
Block a user