diff --git a/bricks/rtc.js b/bricks/rtc.js index dcf93f3..41551b2 100644 --- a/bricks/rtc.js +++ b/bricks/rtc.js @@ -77,7 +77,7 @@ bricks.RTCClient = class extends bricks.VBox { this.socket = new WebSocket(this.signaling_url); this.socket.onmessage = this.signaling_message_handle.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; } build_head(){