648540858
2023-07-13 14eee911ebf3ee48a25dcf71baa30fc2761cbcec
src/main/java/com/genersoft/iot/vmp/gb28181/bean/Device.java
@@ -189,6 +189,8 @@
   private SipTransactionInfo sipTransactionInfo;
   public String getDeviceId() {
      return deviceId;
   }
@@ -242,6 +244,9 @@
   }
   public Integer getStreamModeForParam() {
      if (streamMode == null) {
         return 0;
      }
      if (streamMode.equalsIgnoreCase("UDP")) {
         return 0;
      }else if (streamMode.equalsIgnoreCase("TCP-PASSIVE")) {
@@ -447,4 +452,20 @@
   public void setSipTransactionInfo(SipTransactionInfo sipTransactionInfo) {
      this.sipTransactionInfo = sipTransactionInfo;
   }
   /*======================设备主子码流逻辑START=========================*/
   @Schema(description = "开启主子码流切换的开关(false-不开启,true-开启)")
   private boolean switchPrimarySubStream;
   public boolean isSwitchPrimarySubStream() {
      return switchPrimarySubStream;
   }
   public void setSwitchPrimarySubStream(boolean switchPrimarySubStream) {
      this.switchPrimarySubStream = switchPrimarySubStream;
   }
   /*======================设备主子码流逻辑END=========================*/
}