simplex-chat / simplex-chat/simplex-chat

[Bug]: Wrong screen orientation when making video calls between desktop and cellphone

Open
#5,073 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug desktop mobile
Dominant language
Haskell
Stars
19.5k
Forks
1.4k
Avg merge
1d 20h
Merged PRs (30d)
71

Description

Is there an existing issue for this?
  • I have searched the existing issues
Platform

Windows, Android

OS version

Android 12 Windows 10

App version

6.1

Current Behavior

When making video calls between windows desktop computer and Android cellphone, the desktop computer's camera is always horizontal, and that is expected. The problem is:

  1. Android's camera is always stuck at vertical mode, I cannot make it turn horizontal;

  2. Because the desktop's monitor is always horizontal, and the video feed coming from Android is always vertical there is a mismatch like this:
    1

  3. Because desktop's video feed is always horizontal, and Android's screen is stuck at vertical mode, you get a mismatch like this:
    2

This is driving me crazy.

Expected Behavior
  1. You should be able to rotate phone, so the display and video feed of Android can be turned horizontal.
  2. If the phone is sending vertical video feeds to desktop computer, the computer should make is smaller and show the whole video like this:
    3
Steps To Reproduce
  1. Make a video call between windows and Android
  2. See for yourself
Relevant log output

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce a video call between the Windows desktop and Android app using Android 12, Windows 10, and app version 6.1, then inspect the platform-specific camera orientation and video rendering paths. Done means Android can rotate for landscape calls, and portrait video is fully visible on the desktop without distortion or cropping.

Written by the indexing model from the issue text.

Assessment

Tech stack
android
Domain
audio-video-rtc, mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.