From bb152aaa1b83dc8a2c360804e27f40023b8c0aa4 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Wed, 21 Aug 2024 13:49:41 +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 59dae7b..59f867e 100644 --- a/bricks/rtc.js +++ b/bricks/rtc.js @@ -179,7 +179,7 @@ bricks.RTCClient = class extends bricks.VBox { } this.peer_info = peer_info this.role = 'responser' - await this.createPeerConnection(); + await this.createPeerConnection(this.peer_info); this.socket.send(JSON.stringify({ type: 'callAccepted', to: peer_info