优化时长

This commit is contained in:
yj 2024-09-05 16:14:14 +08:00
parent 2b79c917a1
commit d130da43f0
1 changed files with 8 additions and 8 deletions

View File

@ -514,7 +514,7 @@ const Meeting: React.FC = () => {
sourceType: VideoSourceType.VideoSourceCameraPrimary,
})
getShowUser();
}, 1000);
}, 2000);
}
}
},
@ -529,7 +529,7 @@ const Meeting: React.FC = () => {
view: document.getElementById(`video-${remoteUid}`),
channelId: info.channelId,
})
}, 1000);
}, 2000);
}
}
},
@ -638,7 +638,7 @@ const Meeting: React.FC = () => {
channelId: state.channelId,
sourceType: VideoSourceType.VideoSourceCameraPrimary,
})
}, 1000);
}, 2000);
} else {
setTimeout(async () => {
await agora.setupRemoteVideoJoin({
@ -646,7 +646,7 @@ const Meeting: React.FC = () => {
view: document.getElementById(`video-${userItem.uid}`),
channelId: state.channelId,
})
}, 1000);
}, 2000);
}
}
// 替换数据
@ -765,7 +765,7 @@ const Meeting: React.FC = () => {
sourceType: VideoSourceType.VideoSourceScreen,
})
setClickCurrentLookUserStatus(true)
}, 1000);
}, 2000);
} else {
// 摄像头
setCurrentLookUserStatus(1)
@ -777,7 +777,7 @@ const Meeting: React.FC = () => {
sourceType: VideoSourceType.VideoSourceCameraPrimary,
})
setClickCurrentLookUserStatus(true)
}, 1000);
}, 2000);
}
} else {
if (String(uid).length === 9) {
@ -790,7 +790,7 @@ const Meeting: React.FC = () => {
channelId: state.channelId,
})
setClickCurrentLookUserStatus(true)
}, 1000);
}, 2000);
} else {
// 摄像头
setCurrentLookUserStatus(4)
@ -801,7 +801,7 @@ const Meeting: React.FC = () => {
channelId: state.channelId,
})
setClickCurrentLookUserStatus(true)
}, 1000);
}, 2000);
}
}
}, 1000)