bk138 / droidVNC-NG

VNC server app for Android that does not require root privileges.
GNU General Public License v2.0
1.22k stars 177 forks source link

Specular screen of chromebook #175

Closed DavRas89 closed 7 months ago

DavRas89 commented 8 months ago

Is your feature request related to a problem? Please describe. Hello! Your app is the only one i was able to install on a chromebook to connect to a vnc viewer on PC and smartphone. The problem is that on vnc viewers the screen of the chromebook appears vertically specular/reflected. Is there a way to solve it? Screenshot_20231024_185555_bVNC Free Screenshot_20231024_184815_bVNC Free

Describe the solution you'd like Maybe adding a settings to regulate the specular view/rotation of the shared screen.

Your environment (please complete the following information):

Thank you!

bk138 commented 8 months ago

We can add ChromeOS-specific logic, but I wonder if other ChromeOS users (@CoolGames from #81, @Dingo88 from #156) see this as well or it is just specific to your device?

Dingo88 commented 8 months ago

No I don't get that result, I get what looks like a mirror reflecting another mirror regardless of what device I connect to. I've been pulling my hair out where the issue is

bk138 commented 8 months ago

@DavRas89 can you pls try with https://gitlab.com/vijai/screenrecorder to see what orientation the recorded video has?

DavRas89 commented 8 months ago

@bk138 thank you very much for your kindness and for the fast answer! Sure, i will try to use screenrecorderi n the afternoon. Is it for windows? In the meantime, here is a picture i took yesterday of the two computers (on the left chrome server and on the right windows with viewer) together: IMG-20231024-WA0003 Maybe it would be useful to better understand the situation!

bk138 commented 8 months ago

@DavRas89 It's for Android, i.e. please try it on the ChromeOS machine where you have droidVNC-NG running and check if the recorded video is upside down as well (screenrecorder uses the same API for screen capturing as droidVNC-NG does).

DavRas89 commented 8 months ago

@bk138 i'm trying to install the app screenrecorder but it is not on google playstore (it says that there is a problem and doesn't open the page). I managed to download the apk, but the chromebook is from school (i am a teacher, i have access to google admin console so i can activate apps on playstore if they are on it) and so i'm having some difficulties...is there another app suitable that i can find on playstore? Thank you!

bk138 commented 8 months ago

Any screen recorder app will probably do as they all use the same API, you can have a look here https://play.google.com/store/search?q=screen%20recorder%20opensource&c=apps

Also, you might want to try https://play.google.com/store/apps/details?id=de.abr.android.avnc

DavRas89 commented 8 months ago

Ok, thank you! I managed to install another screen recorder, it opened the same authorization to share the screen. And, same results, with the video file mirrored.

https://github.com/bk138/droidVNC-NG/assets/148895455/42a145ad-8255-4f00-802b-b0499c9a9316

Thank you for the other app, i'm testing it, anyway yours is better because the other one has autostart only as payed function. --EDIT : and the sharing is limited to 10 minutes

bk138 commented 8 months ago

@DavRas89 We need the 'model' string of your device, you can get it for instance via https://play.google.com/store/apps/details?id=com.ytheekshana.deviceinfo second tab, in there second line.

DavRas89 commented 8 months ago

@bk138 here is a picture of the information you asked, it shows model: grunt 20231025_234321

bk138 commented 8 months ago

@DavRas89 can you try this apk and see if it fixes things for you? -> app-release.zip This might help: https://www.xda-developers.com/how-sideload-apps-chromebook/

DavRas89 commented 8 months ago

@bk138 thank you very much! I'm trying but unfortunately i can't activate ADB debugging because it seems locked on organization device, even if i try to unlock from google admin console. I'm not so confident on using developer mode on these school chromebooks. I will keep on trying to find a way...

bk138 commented 7 months ago

@DavRas89 are you able to join the alpha or beta track at google play?

bk138 commented 7 months ago

Tentatively closing this for now, please post here once you got new info @DavRas89.