diff --git a/src/components/UserVideo/index.tsx b/src/components/UserVideo/index.tsx index 066f6cc..3a5cfc1 100644 --- a/src/components/UserVideo/index.tsx +++ b/src/components/UserVideo/index.tsx @@ -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]) // 监听缓存变化