mirror of
https://github.com/lwch/natpass.git
synced 2024-04-21 12:41:54 +00:00
修正fps参数上限不起作用的问题
This commit is contained in:
+5
-1
@@ -46,4 +46,8 @@
|
||||
|
||||
# v0.6.0
|
||||
|
||||
1. 新增vnc隧道支持
|
||||
1. 新增vnc隧道支持
|
||||
|
||||
# v0.6.1
|
||||
|
||||
1. 修正vnc隧道的fps参数上限不起作用的问题
|
||||
@@ -55,7 +55,7 @@ func (conn *Conn) SendConnectReq(id string, cfg global.Tunnel) {
|
||||
XType: network.ConnectRequest_vnc,
|
||||
Payload: &network.ConnectRequest_Cvnc{
|
||||
Cvnc: &network.ConnectVnc{
|
||||
Fps: cfg.Fps,
|
||||
Fps: fps,
|
||||
},
|
||||
},
|
||||
},
|
||||
@@ -85,7 +85,7 @@ func (conn *Conn) SendConnectVnc(id string, cfg global.Tunnel, quality uint64, s
|
||||
XType: network.ConnectRequest_vnc,
|
||||
Payload: &network.ConnectRequest_Cvnc{
|
||||
Cvnc: &network.ConnectVnc{
|
||||
Fps: cfg.Fps,
|
||||
Fps: fps,
|
||||
Quality: uint32(quality),
|
||||
Cursor: showCursor,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user