Port multiplexing
This commit is contained in:
parent
a20a433044
commit
7948291ad2
|
|
@ -927,9 +927,7 @@ export default class RFB extends EventTargetMixin {
|
||||||
this._udpBuffer= new Map();
|
this._udpBuffer= new Map();
|
||||||
|
|
||||||
let udpurl = this._url.split("/")[2];
|
let udpurl = this._url.split("/")[2];
|
||||||
udpurl = udpurl.split(":")[0];
|
udpurl = window.location.protocol + "//" + udpurl + "/webrtc";
|
||||||
udpurl = "http://" + udpurl + ":" + 9555;
|
|
||||||
//udpurl = window.location.protocol + "//" + udpurl + ":" + 9555;
|
|
||||||
|
|
||||||
this._udpPeer = new RTCPeerConnection({
|
this._udpPeer = new RTCPeerConnection({
|
||||||
iceServers: [{
|
iceServers: [{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue