浏览代码

移动端监控停止修改来源名称

wangliang 4 年之前
父节点
当前提交
dfdc9c66cf

+ 1 - 1
themis-exam/src/main/java/com/qmth/themis/exam/api/TIeInvigilateCallMobileController.java

@@ -200,7 +200,7 @@ public class TIeInvigilateCallMobileController {
             if (Objects.nonNull(webSocketOeServer.getRecordId()) && webSocketOeServer.getRecordId().longValue() == recordId.longValue()) {
                 Map map = new HashMap<>();
                 map.put(SystemConstant.RECORD_ID, recordId);
-                map.put("monitorVideoSource", source.name());
+                map.put("source", source.name());
                 WebsocketDto websocketDto = new WebsocketDto(WebsocketTypeEnum.MOBILE_MONITOR_STOP.name(), map);
                 webSocketOeServer.sendMessage(websocketDto);
             }

+ 1 - 1
themis-exam/src/main/java/com/qmth/themis/exam/websocket/WebSocketMobileServer.java

@@ -125,7 +125,7 @@ public class WebSocketMobileServer implements Concurrently {
                 if (Objects.nonNull(webSocketOeServer.getRecordId()) && webSocketOeServer.getRecordId().longValue() == this.recordId.longValue()) {
                     Map map = new HashMap<>();
                     map.put(SystemConstant.RECORD_ID, this.recordId);
-                    map.put("monitorVideoSource", this.source.name());
+                    map.put("source", this.source.name());
                     WebsocketDto websocketDto = new WebsocketDto(WebsocketTypeEnum.MOBILE_MONITOR_STOP.name(), map);
                     webSocketOeServer.sendMessage(websocketDto);
                 }