From 735df5a935f4e34e278ab06fcea4197d6466d960 Mon Sep 17 00:00:00 2001 From: tnt group <dodu@live.cn> Date: 星期二, 01 八月 2023 08:27:47 +0800 Subject: [PATCH] docs: 修正日志管理控制器mapping的错误描述 --- src/main/java/com/genersoft/iot/vmp/gb28181/bean/Device.java | 21 +++++++++++++++++++++ 1 files changed, 21 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/gb28181/bean/Device.java b/src/main/java/com/genersoft/iot/vmp/gb28181/bean/Device.java index 0ef0629..1c7baac 100644 --- a/src/main/java/com/genersoft/iot/vmp/gb28181/bean/Device.java +++ b/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=========================*/ + + } -- Gitblit v1.8.0