减短时间

This commit is contained in:
yj 2024-09-05 16:32:10 +08:00
parent e3303ad903
commit 414d7d1f97
1 changed files with 8 additions and 8 deletions

View File

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