Commit 13e2a96daeb4d751e559ae846e94e0a647800f96
1 parent
0371f5a9
添加删除通道时通知的日志
Showing
1 changed file
with
1 additions
and
1 deletions
src/main/java/com/genersoft/iot/vmp/gb28181/transmit/cmd/impl/SIPCommanderFroPlatform.java
| ... | ... | @@ -579,7 +579,6 @@ public class SIPCommanderFroPlatform implements ISIPCommanderForPlatform { |
| 579 | 579 | sendNotify(parentPlatform, catalogXmlContent, subscribeInfo, eventResult -> { |
| 580 | 580 | logger.error("发送NOTIFY通知消息失败。错误:{} {}", eventResult.statusCode, eventResult.msg); |
| 581 | 581 | }, (eventResult -> { |
| 582 | - logger.info("[发送NOTIFY通知]类型: {},发送成功: {}", type, channels.size()); | |
| 583 | 582 | try { |
| 584 | 583 | sendNotifyForCatalogAddOrUpdate(type, parentPlatform, deviceChannels, subscribeInfo, |
| 585 | 584 | finalIndex + parentPlatform.getCatalogGroup()); |
| ... | ... | @@ -681,6 +680,7 @@ public class SIPCommanderFroPlatform implements ISIPCommanderForPlatform { |
| 681 | 680 | }else { |
| 682 | 681 | channels = deviceChannels.subList(index, deviceChannels.size()); |
| 683 | 682 | } |
| 683 | + logger.info("[发送NOTIFY通知]类型: {},发送数量: {}", type, channels.size()); | |
| 684 | 684 | Integer finalIndex = index; |
| 685 | 685 | String catalogXmlContent = getCatalogXmlContentForCatalogOther(parentPlatform, channels, type); |
| 686 | 686 | sendNotify(parentPlatform, catalogXmlContent, subscribeInfo, eventResult -> { | ... | ... |