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

not working? #34

Open
Anankin opened this issue Mar 1, 2024 · 3 comments
Open

not working? #34

Anankin opened this issue Mar 1, 2024 · 3 comments

Comments

@Anankin
Copy link

Anankin commented Mar 1, 2024

I am trying to use this library to get screen from specific device but screens is black (width and heights are ok) or sometimes I get error (com.shinyhut.vernacular.client.exceptions.UnknownMessageTypeException: Received unexpected message type: 255
at com.shinyhut.vernacular.client.ServerEventHandler.lambda$start$0(ServerEventHandler.java:66)
at java.lang.Thread.run(Thread.java:748)
).

When I use other VNC viewers everything is ok. I am not formiliar with VNC but is there different encodings or what?

@Anankin
Copy link
Author

Anankin commented Mar 2, 2024

Device usses RFB 003.003? Is this a issue?

@Anankin
Copy link
Author

Anankin commented Mar 9, 2024

My VNC server is (Info from Real VNC-> VNC Server default: depth 32 (32bpp) big-endian rgb mac 255,255,255 shift 0,8,16 ; requested encoding ZRLE2 ; size: 800x600)

In java application I specified pixel format: BPP_32_TRUE(32, 32, true, 255, 255, 255, 0, 8, 16).

but I am getting color missmatch. I tried with all combinatons of three color shift but without luck.

@gpowork
Copy link
Contributor

gpowork commented Mar 20, 2024

@Anankin can you provide logs from your VNC server?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants