摄像头预览优化

This commit is contained in:
曹磊 2025-08-14 17:17:56 +08:00
parent 77589e55a0
commit 21862734c8
1 changed files with 2 additions and 1 deletions

View File

@ -137,7 +137,7 @@
const formRef = ref();
const player = ref();
const resolution = ref<string>('超清');
const resolution = ref<string>('流畅');
const izPlaying = ref<boolean>(true);
const izRecording = ref<boolean>(false);
const izPhone = ref<boolean>(false);
@ -219,6 +219,7 @@
if (player.value){
player.value.destroy().then(() => {
}); //
player.value = null;
}
const TumsPlayer = window['tums-player'].default;
player.value = new TumsPlayer('video-container-preview', {