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