From ae07857972f5e7e63cdd985ccf854868c87cbcd0 Mon Sep 17 00:00:00 2001 From: tdg930622 <51816549+tdg930622@users.noreply.github.com> Date: Thu, 9 Jan 2025 17:54:23 +0800 Subject: [PATCH] tj --- src/pages/mediation-page/components/VideoRoom.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/pages/mediation-page/components/VideoRoom.vue b/src/pages/mediation-page/components/VideoRoom.vue index c3d955e..e867564 100644 --- a/src/pages/mediation-page/components/VideoRoom.vue +++ b/src/pages/mediation-page/components/VideoRoom.vue @@ -83,7 +83,7 @@ export default { }, data() { return { - zoomActive: true,// true 放大状态、false 缩小状态 + zoomActive: true,// 布局状态 caseId: '', arrPersonnel: [], @@ -101,8 +101,8 @@ export default { personnelNumber: 1, remoteUsersViews: [], - audioRecordingSts: true, // 全部音频状态 true开启 false关闭 - videoRecordingSts: false, // 录制状态 true开启 false关闭 + audioRecordingSts: true, // 全部音频状态 + videoRecordingSts: false, // 录制状态 startTime: null, timerId: null, duration: 0, // 记录录制时间(秒) @@ -291,7 +291,7 @@ export default { async exitRoom() { this.stopGetAudioLevel(); try { - await this.trtc.exitRoom();// 退出当前音视频通话房间 + await this.trtc.exitRoom(); this.micStatus = false; this.personnelNumber = 1; this.remoteUsersViews = []; @@ -321,7 +321,7 @@ export default { stopGetAudioLevel() { this.trtc && this.trtc.enableAudioVolumeEvaluation(-1); // 开启或关闭音量大小回调 }, - // 流对象事件 + installEventHandlers() { this.trtc.on(TRTC.EVENT.KICKED_OUT, this.handleKickedOut); this.trtc.on(TRTC.EVENT.REMOTE_VIDEO_AVAILABLE, this.handleRemoteVideoAvailable);