|
@@ -30,9 +30,9 @@ export class ActionsService {
|
|
|
);
|
|
|
}
|
|
|
this.roomService.logger.warn(
|
|
|
- `当前--broadcast:${roomId}, action:${
|
|
|
- data.type
|
|
|
- } ,isLeader:${isSocketLeader()}`,
|
|
|
+ `当前--broadcast:${roomId},
|
|
|
+ data:${JSON.stringify(data)}
|
|
|
+ action:${data.type} ,isLeader:${isSocketLeader()}`,
|
|
|
'handleAllAction',
|
|
|
);
|
|
|
switch (data.type) {
|
|
@@ -89,7 +89,10 @@ export class ActionsService {
|
|
|
const roomId = this.roomService._userInfo.RoomId;
|
|
|
const userId = data.userId;
|
|
|
const mutedState = data.muted;
|
|
|
-
|
|
|
+ this.roomService.logger.warn(
|
|
|
+ `handleMutedState: roomId->${roomId},userId->${userId},mutedState->${mutedState}`,
|
|
|
+ 'handleMutedState',
|
|
|
+ );
|
|
|
await this.userService.updateUserMicState(roomId, userId, mutedState);
|
|
|
}
|
|
|
}
|