This commit is contained in:
yj 2024-09-09 16:26:33 +08:00
parent b6ba3c8bf6
commit 92dea100e8
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ const UserVideo: React.FC = () => {
view: document.getElementById(`video-${item.screenShareId}`),
channelId: state.channelId + 'a',
})
await agora.setRemoteVideoStreamType(item.uid, VideoStreamType.VideoStreamLow, false)
await agora.setRemoteVideoStreamType(Number('1' + item.screenShareId), VideoStreamType.VideoStreamLow, false)
})
}, [userList])
// 监听缓存变化