mirror of
https://github.com/lxsang/antd-wvnc-plugin.git
synced 2025-05-01 04:26:44 +02:00
Compare commits
2 Commits
604aab8f0b
...
6c1df8e4d5
Author | SHA1 | Date | |
---|---|---|---|
|
6c1df8e4d5 | ||
|
9c7f4d1cba |
10
wvnc.c
10
wvnc.c
@ -709,6 +709,16 @@ void event_loop(void *data)
|
||||
vncl->GetCredential = get_credential;
|
||||
vncl->listenPort = LISTEN_PORT_OFFSET;
|
||||
vncl->listen6Port = LISTEN_PORT_OFFSET;
|
||||
vncl->appData.useRemoteCursor = true;
|
||||
// use server JPEG encoding
|
||||
vncl->appData.enableJPEG = true;
|
||||
vncl->appData.qualityLevel = user_data->quality / 10;
|
||||
if(vncl->appData.qualityLevel > 9)
|
||||
{
|
||||
vncl->appData.qualityLevel = 9;
|
||||
}
|
||||
//user_data->quality
|
||||
//vncl->GotCursorShape = cursor_changed;
|
||||
user_data->status = READY; // 1 for ready for connect
|
||||
user_data->vncl = vncl;
|
||||
rfbClientSetClientData(vncl, vncl, user_data);
|
||||
|
Loading…
x
Reference in New Issue
Block a user