-
Notifications
You must be signed in to change notification settings - Fork 143
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
[bug] Local camera track rotation when connecting to the Room #632
Comments
I have same problem |
@DominikNozka Have you solved your problem? |
@DominikNozka I found this problem on iOS 18.1, what about you? |
I have same problem |
in our case, it does not happen on a deterministic manner, sometimes happens sometimes it doesn't or even local video track is squared |
This seems to be related to PlatformView, please refer to this line https://github.com/livekit/client-sdk-flutter/blob/main/example/lib/widgets/participant.dart#L146 |
When you connect to the room on iOS device with Flutter SDK camera is initially rotated by 90 degrees. After a couple of seconds it goes back to portrait mode automatically. In some cases camera does not go back to portrait mode.
Steps to reproduce the behavior:
Connect to the room like this with physical iOS device.
Possible solution
Local video track does not rotate when I use FastConnectOptions for Room object creation.
Device Info:
Library version:
Flutter version
Flutter (Channel stable, 3.24.3)
The text was updated successfully, but these errors were encountered: