Skip to content
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

Wrong video rotation in landscape mode #1162

Closed
Miara opened this issue Aug 23, 2024 · 1 comment · Fixed by #1185
Closed

Wrong video rotation in landscape mode #1162

Miara opened this issue Aug 23, 2024 · 1 comment · Fixed by #1185
Labels
bug Something isn't working

Comments

@Miara
Copy link

Miara commented Aug 23, 2024

Describe the bug
There are few bugs with video rotation when being in landscape mode:

  • In Picture in picture, when camera is front, video is displayed upside down (probably the reason is that front camera has reverse orientation then back camera (Screenshot 1)
  • When opening picture in picture in landscape mode - video is cut and it is displayed like it was still vertical orientation (look at Screenshot 2)

SDK version

  • demo-app on develop (latest release was 10.0.12)

Expected behavior

  • in case 1: Video is not upside-down
  • In case 2: Video is horizontal - not vertical

Device:

  • Vendor and model: Samsung
  • Android version: 12

Screenshots
image
image

@Miara Miara added the bug Something isn't working label Aug 23, 2024
@aleksandar-apostolov
Copy link
Collaborator

Hi @Miara

Thanks for your report. The PiP needs to be revisited. The camera frame comes from the WebRTC library, we will look there for the fix.

Keeping this open and I will update the issue when we've checked the WebRTC.

Regards,
Alex

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants