|
@@ -1196,6 +1196,12 @@ public class RoomServiceImpl implements RoomService {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ // 直播课学生连麦不更新退出时间
|
|
|
|
+ if (StringUtils.equalsIgnoreCase(deviceNum, "LIVE") && RoleEnum.getEnumByValue(roomMember.getRole()) == RoleStudent) {
|
|
|
|
+ businessLogger.warn("leaveRoomSuccess: LIVE_STUDENT roomId={}, userId={}, deviceNum={}", roomId, userId, deviceNum);
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
|
|
+
|
|
// 回调整事件延迟通知
|
|
// 回调整事件延迟通知
|
|
if (callbackTs < roomMember.getJoinDt().getTime() && joinTimeMatch) {
|
|
if (callbackTs < roomMember.getJoinDt().getTime() && joinTimeMatch) {
|
|
businessLogger.warn("leaveRoomSuccess: DELAY_NOTIFY roomId={}, userId={}, deviceNum={}, callbackTs={}, joinTs={}",
|
|
businessLogger.warn("leaveRoomSuccess: DELAY_NOTIFY roomId={}, userId={}, deviceNum={}, callbackTs={}, joinTs={}",
|
|
@@ -1207,7 +1213,7 @@ public class RoomServiceImpl implements RoomService {
|
|
roomMember.getJoinDt().getTime(), callbackTs);
|
|
roomMember.getJoinDt().getTime(), callbackTs);
|
|
|
|
|
|
// 用户离开事件
|
|
// 用户离开事件
|
|
- leaveRoomSuccess(roomId, userId, deviceNum);
|
|
|
|
|
|
+ leaveRoomSuccess(roomId, userId, null);
|
|
}
|
|
}
|
|
|
|
|
|
public void deleteWhiteboardByUser(String roomId, String userId) throws Exception {
|
|
public void deleteWhiteboardByUser(String roomId, String userId) throws Exception {
|