From 982f5eedc567b9f5886b8d524345316990576df0 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Fri, 30 Aug 2024 18:15:22 +0800 Subject: [PATCH] bugfix --- bricks/rtc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(){