Udp
This commit is contained in:
committed by
Matthew McClaskey
parent
ba902f8194
commit
3b40a92548
@@ -122,6 +122,15 @@ Password file for BasicAuth, created with the \fBkasmvncpasswd\fP utility.
|
||||
Default \fI~/.kasmpasswd\fP.
|
||||
.
|
||||
.TP
|
||||
.B \-PublicIP \fImy-ip\fP
|
||||
The server's public IP, for UDP negotiation. If not set, will be queried via the internet.
|
||||
Default unset.
|
||||
.
|
||||
.TP
|
||||
.B \-udpFullFrameFrequency \fIframes\fP
|
||||
Send a full frame every N frames for clients using UDP. 0 to disable. Default \fI0\fP.
|
||||
.
|
||||
.TP
|
||||
.B \-AcceptCutText
|
||||
Accept clipboard updates from clients. Default is on.
|
||||
.
|
||||
|
||||
@@ -35,6 +35,7 @@
|
||||
#include <rfb/Hostname.h>
|
||||
#include <rfb/Region.h>
|
||||
#include <rfb/ledStates.h>
|
||||
#include <network/iceip.h>
|
||||
#include <network/TcpSocket.h>
|
||||
#include <network/UnixSocket.h>
|
||||
|
||||
@@ -199,8 +200,10 @@ void vncExtensionInit(void)
|
||||
|
||||
vncAddExtension();
|
||||
|
||||
if (!initialised)
|
||||
if (!initialised) {
|
||||
parseClipTypes();
|
||||
getPublicIP();
|
||||
}
|
||||
vncSelectionInit();
|
||||
|
||||
vlog.info("VNC extension running!");
|
||||
|
||||
Reference in New Issue
Block a user