Commit 87ce22e031399ebcfca8d65402f730be7d3b6dc5
1 parent
5cecb10b
注册过程中区分不同的CSeq值
Showing
1 changed file
with
1 additions
and
1 deletions
src/main/java/com/genersoft/iot/vmp/gb28181/transmit/cmd/impl/SIPCommanderFroPlatform.java
| @@ -52,7 +52,7 @@ public class SIPCommanderFroPlatform implements ISIPCommanderForPlatform { | @@ -52,7 +52,7 @@ public class SIPCommanderFroPlatform implements ISIPCommanderForPlatform { | ||
| 52 | try { | 52 | try { |
| 53 | Request request = null; | 53 | Request request = null; |
| 54 | if (realm == null || nonce == null) { | 54 | if (realm == null || nonce == null) { |
| 55 | - request = headerProvider.createRegisterRequest(parentPlatform, null, null); | 55 | + request = headerProvider.createRegisterRequest(parentPlatform, 1L, null, null); |
| 56 | }else { | 56 | }else { |
| 57 | request = headerProvider.createRegisterRequest(parentPlatform, null, null, callId, realm, nonce, scheme); | 57 | request = headerProvider.createRegisterRequest(parentPlatform, null, null, callId, realm, nonce, scheme); |
| 58 | } | 58 | } |