This commit is contained in:
tdg930622 2025-01-09 17:54:23 +08:00
parent f44044e0bd
commit ae07857972

View File

@ -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);