接收端大小流

This commit is contained in:
yj 2024-11-22 15:16:00 +08:00
parent d10b979bea
commit d7b8276c52
1 changed files with 10 additions and 1 deletions

View File

@ -122,7 +122,16 @@ Page({
clearTimeout(timer) clearTimeout(timer)
}, 10000); }, 10000);
} }
} },
'currentUid': function (currentUid) {
this.data.roomUserList.forEach(item => {
if (item.uid == currentUid) {
agora.setRemoteVideoStreamType(Number(item.uid), 0)
} else {
agora.setRemoteVideoStreamType(Number(item.uid), 1)
}
});
},
}, },
async onLoad(option) { async onLoad(option) {
this.setData({ this.setData({