Aespa icon indicating copy to clipboard operation
Aespa copied to clipboard

Cannot rotate front camera

Open derwaldgeist opened this issue 7 months ago • 0 comments

After I resolved #54 and #55 by manually setting the AVVideoCaptureOrientation, I noticed that this does not work if I switch to the front camera. In this case, Aespa throws an error in the console:

Changing orientation is not supported currently. This behavior will be ignored. | Message: in VideoOrientationTuner(orientation: __C.AVCaptureVideoOrientation)
[⚠️ Aespa Error] 2024-07-10 17:19:02 +0000 | Method: run(_:_:) | Error: connection(reason: Aespa.AespaError.ConnectionErrorReason.cannotChangeVideoOrientation) | Description: Changing orientation is not supported currently. This behavior will be ignored. | Message: in VideoOrientationTuner(orientation: __C.AVCaptureVideoOrientation)

Is there a way to make the front camera work on a rotated device?

derwaldgeist avatar Jul 10 '24 17:07 derwaldgeist