tj
This commit is contained in:
parent
f44044e0bd
commit
ae07857972
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user