Add -udpPort
This commit is contained in:
@@ -226,6 +226,10 @@ rfb::IntParameter rfb::Server::udpFullFrameFrequency
|
||||
("udpFullFrameFrequency",
|
||||
"Send a full frame every N frames for clients using UDP. 0 to disable",
|
||||
0, 0, 1000);
|
||||
rfb::IntParameter rfb::Server::udpPort
|
||||
("udpPort",
|
||||
"Which port to use for UDP. Default same as websocket",
|
||||
0, 0, 65535);
|
||||
|
||||
static void bandwidthPreset() {
|
||||
rfb::Server::dynamicQualityMin.setParam(2);
|
||||
@@ -236,4 +240,4 @@ static void bandwidthPreset() {
|
||||
rfb::PresetParameter rfb::Server::preferBandwidth
|
||||
("PreferBandwidth",
|
||||
"Set various options for lower bandwidth use. The default is off, aka to prefer quality.",
|
||||
false, bandwidthPreset);
|
||||
false, bandwidthPreset);
|
||||
|
||||
@@ -61,6 +61,7 @@ namespace rfb {
|
||||
static IntParameter videoArea;
|
||||
static IntParameter videoScaling;
|
||||
static IntParameter udpFullFrameFrequency;
|
||||
static IntParameter udpPort;
|
||||
static StringParameter kasmPasswordFile;
|
||||
static StringParameter publicIP;
|
||||
static BoolParameter printVideoArea;
|
||||
|
||||
Reference in New Issue
Block a user