From 0f73580d790491ea48c0a62695df363afd6cc6b3 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Tue, 20 Aug 2024 14:31:11 +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 d578a70..29bbbff 100644 --- a/bricks/rtc.js +++ b/bricks/rtc.js @@ -159,7 +159,7 @@ bricks.RTCClient = class extends bricks.VBox { } this.peer_info = peer_info this.role = 'responser' - async this.createPeerConnection(); + await this.createPeerConnection(); this.socket.send(JSON.stringify({ type: 'callAccepted', to: peer_info