Commit 13e2a96daeb4d751e559ae846e94e0a647800f96

Authored by 648540858
1 parent 0371f5a9

添加删除通道时通知的日志

src/main/java/com/genersoft/iot/vmp/gb28181/transmit/cmd/impl/SIPCommanderFroPlatform.java
@@ -579,7 +579,6 @@ public class SIPCommanderFroPlatform implements ISIPCommanderForPlatform { @@ -579,7 +579,6 @@ public class SIPCommanderFroPlatform implements ISIPCommanderForPlatform {
579 sendNotify(parentPlatform, catalogXmlContent, subscribeInfo, eventResult -> { 579 sendNotify(parentPlatform, catalogXmlContent, subscribeInfo, eventResult -> {
580 logger.error("发送NOTIFY通知消息失败。错误:{} {}", eventResult.statusCode, eventResult.msg); 580 logger.error("发送NOTIFY通知消息失败。错误:{} {}", eventResult.statusCode, eventResult.msg);
581 }, (eventResult -> { 581 }, (eventResult -> {
582 - logger.info("[发送NOTIFY通知]类型: {},发送成功: {}", type, channels.size());  
583 try { 582 try {
584 sendNotifyForCatalogAddOrUpdate(type, parentPlatform, deviceChannels, subscribeInfo, 583 sendNotifyForCatalogAddOrUpdate(type, parentPlatform, deviceChannels, subscribeInfo,
585 finalIndex + parentPlatform.getCatalogGroup()); 584 finalIndex + parentPlatform.getCatalogGroup());
@@ -681,6 +680,7 @@ public class SIPCommanderFroPlatform implements ISIPCommanderForPlatform { @@ -681,6 +680,7 @@ public class SIPCommanderFroPlatform implements ISIPCommanderForPlatform {
681 }else { 680 }else {
682 channels = deviceChannels.subList(index, deviceChannels.size()); 681 channels = deviceChannels.subList(index, deviceChannels.size());
683 } 682 }
  683 + logger.info("[发送NOTIFY通知]类型: {},发送数量: {}", type, channels.size());
684 Integer finalIndex = index; 684 Integer finalIndex = index;
685 String catalogXmlContent = getCatalogXmlContentForCatalogOther(parentPlatform, channels, type); 685 String catalogXmlContent = getCatalogXmlContentForCatalogOther(parentPlatform, channels, type);
686 sendNotify(parentPlatform, catalogXmlContent, subscribeInfo, eventResult -> { 686 sendNotify(parentPlatform, catalogXmlContent, subscribeInfo, eventResult -> {