mirror of
https://github.com/openstf/stf
synced 2025-10-05 02:29:26 +02:00
Limit VNC size by default.
This commit is contained in:
parent
d5bfcb16d4
commit
9d20484dcb
5 changed files with 29 additions and 5 deletions
|
@ -24,6 +24,8 @@ module.exports = syrup.serial()
|
|||
|
||||
var opts = {
|
||||
name: options.serial
|
||||
, width: options.vncInitialSize[0]
|
||||
, height: options.vncInitialSize[1]
|
||||
}
|
||||
|
||||
var vnc = new VncServer(net.createServer({
|
||||
|
@ -135,6 +137,8 @@ module.exports = syrup.serial()
|
|||
}
|
||||
|
||||
conn.on('authenticated', function() {
|
||||
screenStream.updateProjection(
|
||||
options.vncInitialSize[0], options.vncInitialSize[1])
|
||||
screenStream.broadcastSet.insert(id, {
|
||||
onStart: vncStartListener
|
||||
, onFrame: vncFrameListener
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue