|
@@ -302,6 +302,12 @@ export class RoomAssistant {
|
|
voiceStatus: Number(duplicateUser.voiceStatus),
|
|
voiceStatus: Number(duplicateUser.voiceStatus),
|
|
});
|
|
});
|
|
console.log("在房间内延续部分数据", user);
|
|
console.log("在房间内延续部分数据", user);
|
|
|
|
+ if (Number(duplicateUser.isAllowMic) === 1) {
|
|
|
|
+ console.log("在房间内延续强制开MIC voiceStatus", Number(duplicateUser.voiceStatus));
|
|
|
|
+ this.socket.broadcast.to(this.room.syncId).emit(EVENT.serverOnMic, {
|
|
|
|
+ voiceStatus: Number(duplicateUser.voiceStatus),
|
|
|
|
+ });
|
|
|
|
+ }
|
|
}
|
|
}
|
|
});
|
|
});
|
|
const res = await Promise.all(removeAll);
|
|
const res = await Promise.all(removeAll);
|