|
@@ -138,6 +138,7 @@ export default {
|
|
|
if (this.socketSendMessage) {
|
|
|
this.pauseVideo = false
|
|
|
this.joinUrl()
|
|
|
+ // debugger
|
|
|
this.socketSendMessage('changeOnlineStatus', {
|
|
|
status: 1
|
|
|
})
|
|
@@ -355,7 +356,13 @@ export default {
|
|
|
|
|
|
const isAuthMic = await this.getAuthorizeRecordStatus();
|
|
|
|
|
|
- console.log('当前用户录音权限状态', isAuthMic)
|
|
|
+
|
|
|
+ // console.log('当前用户录音权限状态', isAuthMic)
|
|
|
+
|
|
|
+ this.setData({
|
|
|
+ isAllowMic,
|
|
|
+ isAuthMic
|
|
|
+ })
|
|
|
|
|
|
const assistantId = (assistant && assistant.userId) ? assistant.userId : '';
|
|
|
|
|
@@ -368,7 +375,7 @@ export default {
|
|
|
peopleCount: manyCount
|
|
|
})
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
return {
|
|
|
role: this.role,
|
|
|
userId: userInfo.userId,
|
|
@@ -553,6 +560,11 @@ export default {
|
|
|
}
|
|
|
});
|
|
|
|
|
|
+ socket.on("roomMaximum", () => {
|
|
|
+ this.setData({
|
|
|
+ roomMaximum: true
|
|
|
+ })
|
|
|
+ });
|
|
|
|
|
|
this.socketStop = () => {
|
|
|
if (socket) {
|