mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 08:03:30 +02:00
Limit VNC size by default.
This commit is contained in:
@@ -21,8 +21,8 @@ function VncConnection(conn, options) {
|
||||
|
||||
this._serverVersion = VncConnection.V3_008
|
||||
this._serverSupportedSecurity = [VncConnection.SECURITY_NONE]
|
||||
this._serverWidth = 1080
|
||||
this._serverHeight = 1920
|
||||
this._serverWidth = this.options.width
|
||||
this._serverHeight = this.options.height
|
||||
this._serverPixelFormat = new PixelFormat({
|
||||
bitsPerPixel: 24
|
||||
, depth: 24
|
||||
|
||||
Reference in New Issue
Block a user