修改错误注释和错误日志

This commit is contained in:
648540858 2020-12-14 15:11:48 +08:00
parent e625520bc8
commit 285f08fc3b
2 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ public class OnlineEventListener implements ApplicationListener<OnlineEvent> {
public void onApplicationEvent(OnlineEvent event) { public void onApplicationEvent(OnlineEvent event) {
if (logger.isDebugEnabled()) { if (logger.isDebugEnabled()) {
logger.debug("设备线事件触发deviceId" + event.getDeviceId() + ",from:" + event.getFrom()); logger.debug("设备线事件触发deviceId" + event.getDeviceId() + ",from:" + event.getFrom());
} }
String key = VideoManagerConstants.KEEPLIVEKEY_PREFIX + event.getDeviceId(); String key = VideoManagerConstants.KEEPLIVEKEY_PREFIX + event.getDeviceId();

View File

@ -74,7 +74,7 @@ public class PlayController {
resultHolder.put(DeferredResultHolder.CALLBACK_CMD_PlAY + uuid, result); resultHolder.put(DeferredResultHolder.CALLBACK_CMD_PlAY + uuid, result);
if (streamInfo == null) { if (streamInfo == null) {
// TODO playStreamCmd 超时处理 // 发送点播消息
cmder.playStreamCmd(device, channelId, (JSONObject response) -> { cmder.playStreamCmd(device, channelId, (JSONObject response) -> {
logger.info("收到订阅消息: " + response.toJSONString()); logger.info("收到订阅消息: " + response.toJSONString());
playService.onPublishHandlerForPlay(response, deviceId, channelId, uuid.toString()); playService.onPublishHandlerForPlay(response, deviceId, channelId, uuid.toString());