|
@@ -165,11 +165,7 @@ public class TIeInvigilateCallMobileController {
|
|
|
if (Objects.equals(status, MonitorStatusSourceEnum.STOP.name()) && (Objects.isNull(mapParameter.get("type")) || Objects.equals(mapParameter.get("type"), ""))) {
|
|
|
throw new BusinessException("异常类型不能为空");
|
|
|
}
|
|
|
- ConcurrentHashMap<String, WebSocketMobileServer> mobileWebSocketMap = WebSocketMobileServer.getWebSocketMap();
|
|
|
String clientWebsocketId = ExamRecordCacheUtil.getClientWebsocketId(recordId);
|
|
|
- if (Objects.isNull(mobileWebSocketMap.get(clientWebsocketId + "-" + source.name()))) {
|
|
|
- throw new BusinessException("网络连接失败");
|
|
|
- }
|
|
|
//获取考试记录缓存
|
|
|
String liveUrl = null;
|
|
|
if (Objects.nonNull(ExamRecordCacheUtil.getMonitorLiveUrl(recordId, source))) {
|