This commit is contained in:
yumoqing 2024-08-30 11:59:08 +08:00
parent ab2e35937d
commit ccefdc130a

View File

@ -359,6 +359,7 @@ bricks.RTCClient = class extends bricks.VBox {
// 处理远程流添加
this.pc.ontrack = event => {
console.log('=========ontrack() called ......');
this.remoteVideo.set_stream(event.streams[0]);
};
if (this.role == 'requester'){