-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Landscape orientation not working properly on iOS devices #48
Comments
same issue |
any solution yet? |
I switched to another package |
@stalteri can you please refer me to the package which is working fine? |
of course, its @api.video/react-native-livestream |
https://github.com/apivideo/api.video-reactnative-live-stream |
@stalteri thanks |
At first, nice package and thanks for your contribution.
### Current Behavior
I lock stream screen to landscape mode with a package call 'react-native-orientation-locker', and the camera view did lock to landscape mode on android devices. However, it doesn't work with iOS devices, the camera view is still use portrait mode and it seems like it rotate 90 degrees with weird zoom out view.
It seems like when the camera got invoked or RTMPPublisher component got initialized, the orientation hasn't locked to landscape mode so the camera still take portrait view.
Does rtmp-publisher camera locked to portrait on iOS devices by default or any way we can change the camera orientation mode?
The text was updated successfully, but these errors were encountered: