yangjie #41

Merged
yangqiang merged 20 commits from yangjie into master 2024-12-11 14:52:08 +08:00
2 changed files with 4 additions and 4 deletions
Showing only changes of commit 9a5ef75322 - Show all commits

View File

@ -65,8 +65,8 @@
height: 0; height: 0;
.userVideoContentListItem { .userVideoContentListItem {
height: 32%; height: 13%;
width: calc(100% / 4 - 8px); width: calc(100% / 3 - 8px);
padding: 4px; padding: 4px;
.userVideoContentListItemVideo { .userVideoContentListItemVideo {

View File

@ -1622,11 +1622,11 @@ const Meeting: React.FC = () => {
} }
// 退出房间 // 退出房间
const leaveChannel = async (bool: boolean = true): Promise<void> => { const leaveChannel = async (bool: boolean = true): Promise<void> => {
await stopScreenCapture()
await stopRecorderMedia() await stopRecorderMedia()
if (bool) { if (bool) {
await getLeave() await getLeave()
} }
await stopScreenCapture()
await agora.leaveChannel() await agora.leaveChannel()
setTimeout(() => { setTimeout(() => {
if (userInfo.isAnonymous) { if (userInfo.isAnonymous) {
@ -1634,7 +1634,7 @@ const Meeting: React.FC = () => {
} else { } else {
navigate('/home/index') navigate('/home/index')
} }
}, 0) }, 1000)
} }
// 分享屏幕 // 分享屏幕
const clickSharedScreen = async (): Promise<void> => { const clickSharedScreen = async (): Promise<void> => {