Limit VNC size by default.

This commit is contained in:
Simo Kinnunen
2015-09-15 04:25:21 +09:00
parent d5bfcb16d4
commit 9d20484dcb
5 changed files with 29 additions and 5 deletions

View File

@@ -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