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

MediaProjection on mekotronics TV box in portrait mode distorted #249

Open
Moomoozer opened this issue Dec 6, 2024 · 7 comments
Open

MediaProjection on mekotronics TV box in portrait mode distorted #249

Moomoozer opened this issue Dec 6, 2024 · 7 comments
Labels
bug Something isn't working

Comments

@Moomoozer
Copy link

Moomoozer commented Dec 6, 2024

Describe the bug
Remote screen gets distorted when enabling fast mode after prompt.

To Reproduce
Installed DroidVnc as normal on an Android mekotronics TV box in portrait mode
used Avnc / RealVnc client apps for android

YouCut_20241206_080616337.mp4

Expected Behavior

When connecting the droidVNC, a prompt recommends fast mode which screws of the client view

Logs/Backtraces
N/A

Environment

  • droidVNC-NG version: 2.7.3
  • Android version: "Android TV OS 12"
  • Client-side OS and version: 12
  • VNC client and version: AVNC 2.6.3 Android / RealVnc 4.9.2 Android

Additional context
In addition to fixing the problem, please allow users to disable the nag screen with a simple switch option in the ui.

@Moomoozer Moomoozer added the bug Something isn't working label Dec 6, 2024
@bk138
Copy link
Owner

bk138 commented Dec 6, 2024

Thanks for reporting! Few questions:

  • Does fast mode work when you start with it, i.e. give the screen share permission right at the start?
  • Does the output of https://gitlab.com/vijai/screenrecorder look scrambled as well (uses the same screen recording API)?

@bk138 bk138 added the answer-needed Waiting for response from OP label Dec 6, 2024
@Moomoozer
Copy link
Author

Not sure what you mean, fast mode has never worked without distortion on this particular device. The screenrecorder app worked fine full screen. I usually use XRecorder and it did exhibit the exact same distortion issue until I changed the setting from "Normal mode" to "Performance mode", which is properly the same as giving users the option of disabling what you refer to as fast mode.

@bk138
Copy link
Owner

bk138 commented Dec 6, 2024

We'd need an open source screen recorder that works for you so I can look into their source code and apply the change to droidVNC-NG. I only know https://gitlab.com/vijai/screenrecorder so far, this worked for you?

@bk138 bk138 changed the title Fast mode bug MediaProjection on mekotronics TV box in portrait mode distorted Dec 6, 2024
@Moomoozer
Copy link
Author

Moomoozer commented Dec 6, 2024

Yes, the screenrecorder app you referred to was tested and working out of the box with no distortion except for the audio.

@bk138
Copy link
Owner

bk138 commented Dec 6, 2024

@Moomoozer Thanks for the swift reply, I'll have a look.

It's a bit hard to see from your video due to the black background, would "landscape screen recording is set into portrait mode" describe it correctly?

Did you test screenrecorder in portrait mode?

@Moomoozer
Copy link
Author

Moomoozer commented Dec 6, 2024

It was tested in portrait mode which was set to 90 degrees in Android system display settings at the time of the video recording

@bk138 bk138 removed the answer-needed Waiting for response from OP label Dec 7, 2024
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
Development

No branches or pull requests

2 participants