mirror of
https://github.com/amitbet/vncproxy.git
synced 2025-07-05 10:26:31 +00:00
Merge branch 'master' of https://github.com/amitbet/VncProxy
This commit is contained in:
commit
931b08376b
@ -11,7 +11,7 @@ An RFB proxy, written in go that can save and replay FBS files
|
|||||||
- Tested on tight encoding with:
|
- Tested on tight encoding with:
|
||||||
- Tightvnc (client + java client + server)
|
- Tightvnc (client + java client + server)
|
||||||
- FBS player (tightVnc Java player)
|
- FBS player (tightVnc Java player)
|
||||||
- NoVnc(web client)
|
- NoVnc(web client) => use -wsPort to open a websocket
|
||||||
- ChickenOfTheVnc(client)
|
- ChickenOfTheVnc(client)
|
||||||
- VineVnc(server)
|
- VineVnc(server)
|
||||||
- TigerVnc(client)
|
- TigerVnc(client)
|
||||||
@ -25,7 +25,7 @@ An RFB proxy, written in go that can save and replay FBS files
|
|||||||
## Usage:
|
## Usage:
|
||||||
recorder -recDir=./recording.rbs -targHost=192.168.0.100 -targPort=5903 -targPass=@@@@@
|
recorder -recDir=./recording.rbs -targHost=192.168.0.100 -targPort=5903 -targPass=@@@@@
|
||||||
player -fbsFile=./myrec.fbs -tcpPort=5905
|
player -fbsFile=./myrec.fbs -tcpPort=5905
|
||||||
proxy -recDir=./recordings/ -targHost=192.168.0.100 -targPort=5903 -targPass=@@@@@ -tcpPort=5903 -vncPass=@!@!@!
|
proxy -recDir=./recordings/ -targHost=192.168.0.100 -targPort=5903 -targPass=@@@@@ -tcpPort=5903 -wsPort=5905 -vncPass=@!@!@!
|
||||||
|
|
||||||
### Code usage examples
|
### Code usage examples
|
||||||
* player/main.go (fbs recording vnc client)
|
* player/main.go (fbs recording vnc client)
|
||||||
|
@ -142,7 +142,7 @@ func handleTightFilters(subencoding uint8, pixelFmt *common.PixelFormat, rect *c
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
paletteSize := colorCount + 1 // add one more
|
paletteSize := int(colorCount) + 1 // add one more
|
||||||
logger.Debugf("handleTightFilters: ----PALETTE_FILTER: paletteSize=%d bytesPixel=%d\n", paletteSize, bytesPixel)
|
logger.Debugf("handleTightFilters: ----PALETTE_FILTER: paletteSize=%d bytesPixel=%d\n", paletteSize, bytesPixel)
|
||||||
//complete palette
|
//complete palette
|
||||||
_, err = r.ReadBytes(int(paletteSize) * bytesPixel)
|
_, err = r.ReadBytes(int(paletteSize) * bytesPixel)
|
||||||
|
Loading…
Reference in New Issue
Block a user