yangjie #41
|
|
@ -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 {
|
||||||
|
|
|
||||||
|
|
@ -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> => {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue