This commit is contained in:
parent
a7ccec704f
commit
8da3e5c6ba
|
|
@ -161,7 +161,7 @@ const Meeting: React.FC = () => {
|
|||
sourceType: VideoSourceType.VideoSourceCameraPrimary,
|
||||
})
|
||||
getShowUser();
|
||||
}, 1000);
|
||||
}, 2000);
|
||||
}
|
||||
},
|
||||
onUserJoined: async (info: any, remoteUid: any, _elapsed: any) => {
|
||||
|
|
@ -174,7 +174,7 @@ const Meeting: React.FC = () => {
|
|||
view: document.getElementById(`video-${remoteUid}`),
|
||||
channelId: info.channelId,
|
||||
})
|
||||
}, 1000);
|
||||
}, 2000);
|
||||
}
|
||||
},
|
||||
onUserOffline: async (_info: any, remoteUid: any, _reason: any) => {
|
||||
|
|
@ -522,7 +522,7 @@ const Meeting: React.FC = () => {
|
|||
sourceType: VideoSourceType.VideoSourceScreen,
|
||||
})
|
||||
setClickCurrentLookUserStatus(true)
|
||||
}, 1000);
|
||||
}, 2000);
|
||||
} else {
|
||||
// 摄像头
|
||||
setCurrentLookUserStatus(1)
|
||||
|
|
@ -534,7 +534,7 @@ const Meeting: React.FC = () => {
|
|||
sourceType: VideoSourceType.VideoSourceCameraPrimary,
|
||||
})
|
||||
setClickCurrentLookUserStatus(true)
|
||||
}, 1000);
|
||||
}, 2000);
|
||||
}
|
||||
} else {
|
||||
if (String(uid).length === 9) {
|
||||
|
|
@ -547,7 +547,7 @@ const Meeting: React.FC = () => {
|
|||
channelId: state.channelId,
|
||||
})
|
||||
setClickCurrentLookUserStatus(true)
|
||||
}, 1000);
|
||||
}, 2000);
|
||||
} else {
|
||||
// 摄像头
|
||||
setCurrentLookUserStatus(4)
|
||||
|
|
@ -558,7 +558,7 @@ const Meeting: React.FC = () => {
|
|||
channelId: state.channelId,
|
||||
})
|
||||
setClickCurrentLookUserStatus(true)
|
||||
}, 1000);
|
||||
}, 2000);
|
||||
}
|
||||
}
|
||||
}, 1000)
|
||||
|
|
|
|||
Loading…
Reference in New Issue