Commit 285f08fc3b9f350fe71d21c870d992343947b9c0

Authored by 648540858
1 parent e625520b

修改错误注释和错误日志

src/main/java/com/genersoft/iot/vmp/gb28181/event/online/OnlineEventListener.java
@@ -32,7 +32,7 @@ public class OnlineEventListener implements ApplicationListener<OnlineEvent> { @@ -32,7 +32,7 @@ public class OnlineEventListener implements ApplicationListener<OnlineEvent> {
32 public void onApplicationEvent(OnlineEvent event) { 32 public void onApplicationEvent(OnlineEvent event) {
33 33
34 if (logger.isDebugEnabled()) { 34 if (logger.isDebugEnabled()) {
35 - logger.debug("设备线事件触发,deviceId:" + event.getDeviceId() + ",from:" + event.getFrom()); 35 + logger.debug("设备线事件触发,deviceId:" + event.getDeviceId() + ",from:" + event.getFrom());
36 } 36 }
37 37
38 String key = VideoManagerConstants.KEEPLIVEKEY_PREFIX + event.getDeviceId(); 38 String key = VideoManagerConstants.KEEPLIVEKEY_PREFIX + event.getDeviceId();
src/main/java/com/genersoft/iot/vmp/vmanager/play/PlayController.java
@@ -74,7 +74,7 @@ public class PlayController { @@ -74,7 +74,7 @@ public class PlayController {
74 resultHolder.put(DeferredResultHolder.CALLBACK_CMD_PlAY + uuid, result); 74 resultHolder.put(DeferredResultHolder.CALLBACK_CMD_PlAY + uuid, result);
75 75
76 if (streamInfo == null) { 76 if (streamInfo == null) {
77 - // TODO playStreamCmd 超时处理 77 + // 发送点播消息
78 cmder.playStreamCmd(device, channelId, (JSONObject response) -> { 78 cmder.playStreamCmd(device, channelId, (JSONObject response) -> {
79 logger.info("收到订阅消息: " + response.toJSONString()); 79 logger.info("收到订阅消息: " + response.toJSONString());
80 playService.onPublishHandlerForPlay(response, deviceId, channelId, uuid.toString()); 80 playService.onPublishHandlerForPlay(response, deviceId, channelId, uuid.toString());