yangjie #22

Merged
yangqiang merged 99 commits from yangjie into master 2024-10-22 16:11:46 +08:00
2 changed files with 13 additions and 2 deletions
Showing only changes of commit 487675d20e - Show all commits

View File

@ -93,8 +93,15 @@ const ShareScreenWindow: React.FC = () => {
}
})
return () => {
setTimeStr(res => {
channel.postMessage({
type: 'shareScreenWindowTime',
shareScreenWindowTime: res
});
clearInterval(timeout)
channel.close();
return res
})
};
}, []);
const changeCurrentSeconds = (time: number): string => {

View File

@ -208,6 +208,7 @@ const Meeting: React.FC = () => {
const {
type,
shareScreenWindowfooterListsTitle,
shareScreenWindowTime,
userListWindowPostOpenMicr,
userListWindowPostOpenCamera,
userListWindowDeleteRoomManager,
@ -239,6 +240,9 @@ const Meeting: React.FC = () => {
await stopScreenCapture()
await allUserLook(userInfo.uid, userInfo.userName)
break;
case 'shareScreenWindowTime':
setCurrentSeconds(shareScreenWindowTime)
break;
case 'shareScreenWindowfooterListsTitle':
switch (shareScreenWindowfooterListsTitle) {
case '静音':