Video for more details:
https://drive.google.com/file/d/1-VlEjVkVZqJ1Qu-Tbmmmhk0ExhzuPoER/view?usp=share_link
If I swap values for portraitUpsideDown and landscapeRight in CameraHelper preview appears correctly, but stream orientation is broken.
This issue appears on MetalView only. On old commit 55e3f9000e217f52a657ec43f58e8a49c5b192bd it works perfectly on UIView.
Video for more details:
https://drive.google.com/file/d/1-VlEjVkVZqJ1Qu-Tbmmmhk0ExhzuPoER/view?usp=share_link
If I swap values for portraitUpsideDown and landscapeRight in CameraHelper preview appears correctly, but stream orientation is broken.
This issue appears on MetalView only. On old commit 55e3f9000e217f52a657ec43f58e8a49c5b192bd it works perfectly on UIView.