bk138 / multivnc

MultiVNC is a cross-platform Multicast-enabled VNC viewer based on LibVNCClient. The desktop client runs on Unix, Mac OS X and Windows. There also is an Android client.
GNU General Public License v3.0
460 stars 66 forks source link

Android: Added the ability to specify the encoding type by appending … #155

Closed ghost closed 2 years ago

ghost commented 3 years ago

Added the ability to specify the encoding to be used by appending '#' after the host, and to specify the compression ratio and jpeg quality. This support is tentative, but it does not affect existing users, so it is not a problem to incorporate it.

example:

localhost#tight compress9 quality0

Complesss Level: compress0 - compress9

JPEG Quality Level: quality0 - quality9

Default Option: https://github.com/LibVNC/libvncserver/blob/a452ef3efa2ff0efb9d223fc5d477a0b4db6f0bf/libvncclient/rfbproto.c#L1193

bk138 commented 2 years ago

Thank you very much for the contribution and sorry for the late reply! This approach has some drawbacks (no way to specify encoding for hosts selected from the Zeroconf list, hard to discover, slow to enter) when compared to having a UI for this functionality. Thus, let's rather focus on a UI for this.