This commit is contained in:
yumoqing 2024-08-20 14:31:11 +08:00
parent 9df406bd64
commit 0f73580d79

View File

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