This commit is contained in:
yumoqing 2024-08-30 18:15:22 +08:00
parent 350c16c85f
commit 982f5eedc5

View File

@ -77,7 +77,7 @@ bricks.RTCClient = class extends bricks.VBox {
this.socket = new WebSocket(this.signaling_url); this.socket = new WebSocket(this.signaling_url);
this.socket.onmessage = this.signaling_message_handle.bind(this); this.socket.onmessage = this.signaling_message_handle.bind(this);
this.socket.onopen = this.signaling_login.bind(this); this.socket.onopen = this.signaling_login.bind(this);
this.socket.onclose = function(){ console.log('888888 this.socket is closed'); }; this.socket.onclose = function(){ console.log('888888 this.socket is closed', this.socket); };
this.socket.onerror = null; this.socket.onerror = null;
} }
build_head(){ build_head(){