diff --git a/core/rfb.js b/core/rfb.js index f61263e2..b87bed42 100644 --- a/core/rfb.js +++ b/core/rfb.js @@ -136,7 +136,7 @@ export default class RFB extends EventTargetMixin { this._maxVideoResolutionX = 960; this._maxVideoResolutionY = 540; this._clipboardBinary = true; - this._useUdp = false; + this._useUdp = true; this._trackFrameStats = false; @@ -1033,6 +1033,10 @@ export default class RFB extends EventTargetMixin { } } + if (this._useUdp) { + setTimeout(function() { this._sendUdpUpgrade() }.bind(this), 3000); + } + Log.Debug("<< RFB.connect"); }