mirror of
https://gitee.com/pan648540858/wvp-GB28181-pro.git
synced 2026-05-18 19:37:50 +08:00
调整国标级联通道发送逻辑
This commit is contained in:
parent
51cd14e02e
commit
70356c08d2
@ -243,7 +243,7 @@ public class SIPCommanderForPlatform implements ISIPCommanderForPlatform {
|
||||
if (sendAfterResponse) {
|
||||
// 默认按照收到200回复后发送下一条, 如果超时收不到回复,就以30毫秒的间隔直接发送。
|
||||
sipSender.transmitRequest(parentPlatform.getDeviceIp(), request, eventResult -> {
|
||||
if (eventResult.type.equals(SipSubscribe.EventResultType.timeout)) {
|
||||
if (eventResult.statusCode == -1024) {
|
||||
// 消息发送超时, 以30毫秒的间隔直接发送
|
||||
int indexNext = index + parentPlatform.getCatalogGroup();
|
||||
try {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user