stop audio stream

This commit is contained in:
cxc
2022-06-09 11:07:22 +08:00
parent aed3fee7a6
commit 74a8f058c1
2 changed files with 16 additions and 13 deletions

View File

@ -90,7 +90,9 @@ onMounted(() => {
isVideoAvailable.value = false;
}
try {
audioStream.value = navigator.mediaDevices.getUserMedia({ audio: true });
audioStream.value = await navigator.mediaDevices.getUserMedia({
audio: true,
});
isAudioAvailable.value = true;
} catch (error) {
console.log(error);

View File

@ -69,6 +69,7 @@
:close-on-click-modal="false"
title="签到"
width="30%"
:fullscreen="screenWidth < 900"
>
<span>是否确认签到</span>
<template #footer>
@ -811,8 +812,8 @@ $meetingBackgroundHeight: 80vw * 9 / 16;
> .zmwebsdk-MuiBox-root.zmwebsdk-MuiBox-root
> div[class*="inSharing"]
+ div) {
width: $meetingComponentWitdh * 0.2;
height: $meetingComponentWitdh * 0.2 * 9 / 16;
width: $meetingComponentWitdh * 0.15;
height: $meetingComponentWitdh * 0.15 * 9 / 16;
position: relative;
}
}
@ -821,8 +822,8 @@ $meetingBackgroundHeight: 80vw * 9 / 16;
> .zmwebsdk-MuiBox-root.zmwebsdk-MuiBox-root
> div[class*="inSharing"]
+ div) {
width: $meetingComponentWitdh * 0.2;
height: $meetingComponentWitdh * 0.2 * 9 / 16;
width: $meetingComponentWitdh * 0.15;
height: $meetingComponentWitdh * 0.15 * 9 / 16;
position: relative;
}
:deep(#suspension-view-tabpanel-ribbon
@ -884,8 +885,8 @@ $meetingBackgroundHeight: 80vw * 9 / 16;
> .zmwebsdk-MuiBox-root.zmwebsdk-MuiBox-root
> div[class*="inSharing"]
+ div) {
width: $meetingComponentWitdh * 0.2;
height: $meetingComponentWitdh * 0.2 * 9 / 14.5;
width: $meetingComponentWitdh * 0.15;
height: $meetingComponentWitdh * 0.15 * 9 / 14.5;
position: relative;
align-self: initial;
}
@ -956,8 +957,8 @@ $meetingBackgroundHeight: 80vw * 9 / 16;
> .zmwebsdk-MuiBox-root.zmwebsdk-MuiBox-root
> div[class*="inSharing"]
+ div) {
width: $meetingComponentWitdh * 0.2;
height: $meetingComponentWitdh * 0.2 * 9 / 16;
width: $meetingComponentWitdh * 0.15;
height: $meetingComponentWitdh * 0.15 * 9 / 16;
}
}
.layout-template-4 {
@ -965,8 +966,8 @@ $meetingBackgroundHeight: 80vw * 9 / 16;
> .zmwebsdk-MuiBox-root.zmwebsdk-MuiBox-root
> div[class*="inSharing"]
+ div) {
width: $meetingComponentWitdh * 0.2;
height: $meetingComponentWitdh * 0.2 * 9 / 16;
width: $meetingComponentWitdh * 0.15;
height: $meetingComponentWitdh * 0.15 * 9 / 16;
}
}
@ -1005,8 +1006,8 @@ $meetingBackgroundHeight: 80vw * 9 / 16;
> .zmwebsdk-MuiBox-root.zmwebsdk-MuiBox-root
> div[class*="inSharing"]
+ div) {
width: $meetingComponentWitdh * 0.2;
height: $meetingComponentWitdh * 0.2 * 9 / 14.5;
width: $meetingComponentWitdh * 0.15;
height: $meetingComponentWitdh * 0.15 * 9 / 14.5;
}
:deep(div[id*="suspension-view-tabpanel"]
> .zmwebsdk-MuiBox-root.zmwebsdk-MuiBox-root