去除多余代码
This commit is contained in:
parent
3723873d71
commit
d2d20d3efd
|
|
@ -1688,7 +1688,6 @@ const Meeting: React.FC = () => {
|
|||
// 退出房间
|
||||
const leaveChannel = async (bool: boolean = true): Promise<void> => {
|
||||
setIsLeave(true)
|
||||
setTimeout(async () => {
|
||||
await stopScreenCapture()
|
||||
await stopRecorderMedia()
|
||||
if (bool) {
|
||||
|
|
@ -1707,7 +1706,6 @@ const Meeting: React.FC = () => {
|
|||
}
|
||||
return res
|
||||
})
|
||||
}, 1000)
|
||||
}
|
||||
// 分享屏幕
|
||||
const clickSharedScreen = async (): Promise<void> => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue