diff --git a/src/components/UserVideo/index.module.scss b/src/components/UserVideo/index.module.scss index 7d7f7ac..b1d7b15 100644 --- a/src/components/UserVideo/index.module.scss +++ b/src/components/UserVideo/index.module.scss @@ -65,8 +65,8 @@ height: 0; .userVideoContentListItem { - height: 32%; - width: calc(100% / 4 - 8px); + height: 13%; + width: calc(100% / 3 - 8px); padding: 4px; .userVideoContentListItemVideo { diff --git a/src/page/Meeting/index.tsx b/src/page/Meeting/index.tsx index 619b731..ae20e82 100644 --- a/src/page/Meeting/index.tsx +++ b/src/page/Meeting/index.tsx @@ -1622,11 +1622,11 @@ const Meeting: React.FC = () => { } // 退出房间 const leaveChannel = async (bool: boolean = true): Promise => { + await stopScreenCapture() await stopRecorderMedia() if (bool) { await getLeave() } - await stopScreenCapture() await agora.leaveChannel() setTimeout(() => { if (userInfo.isAnonymous) { @@ -1634,7 +1634,7 @@ const Meeting: React.FC = () => { } else { navigate('/home/index') } - }, 0) + }, 1000) } // 分享屏幕 const clickSharedScreen = async (): Promise => {