Browse Source

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

pull/14/head
Lawrence 4 years ago
parent
commit
87ce22e031
  1. 2
      src/main/java/com/genersoft/iot/vmp/gb28181/transmit/cmd/impl/SIPCommanderFroPlatform.java

2
src/main/java/com/genersoft/iot/vmp/gb28181/transmit/cmd/impl/SIPCommanderFroPlatform.java

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

Loading…
Cancel
Save