Explorar o código

注册过程中区分不同的CSeq值

Lawrence %!s(int64=4) %!d(string=hai) anos
pai
achega
87ce22e031

+ 1 - 1
src/main/java/com/genersoft/iot/vmp/gb28181/transmit/cmd/impl/SIPCommanderFroPlatform.java

@@ -52,7 +52,7 @@ public class SIPCommanderFroPlatform implements ISIPCommanderForPlatform {
         try {
             Request request = null;
             if (realm == null || nonce == null) {
-                request = headerProvider.createRegisterRequest(parentPlatform, null, null);
+                request = headerProvider.createRegisterRequest(parentPlatform, 1L, null, null);
             }else {
                 request = headerProvider.createRegisterRequest(parentPlatform, null, null, callId, realm, nonce, scheme);
             }