This commit is contained in:
yumoqing 2024-08-21 16:07:26 +08:00
parent f9b9ea7e53
commit 8d42deb7a7

View File

@ -283,6 +283,7 @@ bricks.RTCClient = class extends bricks.VBox {
{ urls: this.ice_url } { urls: this.ice_url }
] ]
}; };
console.log('configuration=', configuration);
this.pc = new RTCPeerConnection(configuration); this.pc = new RTCPeerConnection(configuration);
// 处理本地流添加到 PeerConnection // 处理本地流添加到 PeerConnection
this.localVideo this.localVideo