This commit is contained in:
yumoqing 2024-08-21 13:49:41 +08:00
parent 633289c71d
commit bb152aaa1b

View File

@ -179,7 +179,7 @@ bricks.RTCClient = class extends bricks.VBox {
} }
this.peer_info = peer_info this.peer_info = peer_info
this.role = 'responser' this.role = 'responser'
await this.createPeerConnection(); await this.createPeerConnection(this.peer_info);
this.socket.send(JSON.stringify({ this.socket.send(JSON.stringify({
type: 'callAccepted', type: 'callAccepted',
to: peer_info to: peer_info