pedroSG94 / RootEncoder-iOS

RootEncoder iOS (rtmp-rtsp-stream-client-swift) is a stream encoder to push video/audio to media servers using protocols RTMP, RTSP and SRT with all code written in Swift
Apache License 2.0
125 stars 34 forks source link

Incorrect orientation on rotation #47

Open vitkuzmenko opened 1 week ago

vitkuzmenko commented 1 week ago

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.

pedroSG94 commented 1 week ago

Hello,

Thank you for the report. I will check it

pedroSG94 commented 1 day ago

Fixed in master