fix of error - 'code 400, message Client must support 'binary' or 'base64' protocol

This commit is contained in:
Vitaly Zverev 2020-04-06 13:26:12 -07:00
parent a040c402ed
commit 52412d4ef0
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ export default class RFB extends EventTargetMixin {
this._rfb_credentials = options.credentials || {};
this._shared = 'shared' in options ? !!options.shared : true;
this._repeaterID = options.repeaterID || '';
this._wsProtocols = options.wsProtocols || [];
this._wsProtocols = options.wsProtocols || ["binary"];
// Internal state
this._rfb_connection_state = '';