From c23932eb00edfa5f734b0d17eced838c5c7577c0 Mon Sep 17 00:00:00 2001 From: 648540858 <456PANlinlin> Date: 星期三, 17 十一月 2021 22:58:41 +0800 Subject: [PATCH] #221 --- src/main/java/com/genersoft/iot/vmp/media/zlm/ZLMServerConfig.java | 61 ++++++++++++++++++------------ 1 files changed, 36 insertions(+), 25 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/media/zlm/ZLMServerConfig.java b/src/main/java/com/genersoft/iot/vmp/media/zlm/ZLMServerConfig.java index 5196f4c..c1a9bd2 100644 --- a/src/main/java/com/genersoft/iot/vmp/media/zlm/ZLMServerConfig.java +++ b/src/main/java/com/genersoft/iot/vmp/media/zlm/ZLMServerConfig.java @@ -1,7 +1,6 @@ package com.genersoft.iot.vmp.media.zlm; import com.alibaba.fastjson.annotation.JSONField; -import org.springframework.util.StringUtils; public class ZLMServerConfig { @@ -35,11 +34,14 @@ @JSONField(name = "general.streamNoneReaderDelayMS") private String generalStreamNoneReaderDelayMS; + @JSONField(name = "ip") private String ip; private String sdpIp; private String streamIp; + + private String hookIp; private String updateTime; @@ -67,7 +69,7 @@ private String hookEnable; @JSONField(name = "hook.on_flow_report") - private Integer hookOnFlowReport; + private String hookOnFlowReport; @JSONField(name = "hook.on_http_access") private String hookOnHttpAccess; @@ -118,7 +120,7 @@ private String httpNotFound; @JSONField(name = "http.port") - private Integer httpPort; + private int httpPort; @JSONField(name = "http.rootPath") private String httpRootPath; @@ -127,7 +129,7 @@ private String httpSendBufSize; @JSONField(name = "http.sslport") - private Integer httpSSLport; + private int httpSSLport; @JSONField(name = "multicast.addrMax") private String multicastAddrMax; @@ -160,10 +162,10 @@ private String rtmpModifyStamp; @JSONField(name = "rtmp.port") - private Integer rtmpPort; + private int rtmpPort; @JSONField(name = "rtmp.sslport") - private Integer rtmpSslPort; + private int rtmpSslPort; @JSONField(name = "rtp.audioMtuSize") private String rtpAudioMtuSize; @@ -187,7 +189,7 @@ private String rtpProxyDumpDir; @JSONField(name = "rtp_proxy.port") - private Integer rtpProxyPort; + private int rtpProxyPort; @JSONField(name = "rtp_proxy.timeoutSec") private String rtpProxyTimeoutSec; @@ -202,16 +204,25 @@ private String rtspKeepAliveSecond; @JSONField(name = "rtsp.port") - private Integer rtspPort; + private int rtspPort; @JSONField(name = "rtsp.sslport") - private Integer rtspSSlport; + private int rtspSSlport; @JSONField(name = "shell.maxReqSize") private String shellMaxReqSize; @JSONField(name = "shell.shell") private String shellPhell; + + + public String getHookIp() { + return hookIp; + } + + public void setHookIp(String hookIp) { + this.hookIp = hookIp; + } public String getApiDebug() { return apiDebug; @@ -389,11 +400,11 @@ this.hookEnable = hookEnable; } - public Integer getHookOnFlowReport() { + public String getHookOnFlowReport() { return hookOnFlowReport; } - public void setHookOnFlowReport(Integer hookOnFlowReport) { + public void setHookOnFlowReport(String hookOnFlowReport) { this.hookOnFlowReport = hookOnFlowReport; } @@ -525,11 +536,11 @@ this.httpNotFound = httpNotFound; } - public Integer getHttpPort() { + public int getHttpPort() { return httpPort; } - public void setHttpPort(Integer httpPort) { + public void setHttpPort(int httpPort) { this.httpPort = httpPort; } @@ -549,11 +560,11 @@ this.httpSendBufSize = httpSendBufSize; } - public Integer getHttpSSLport() { + public int getHttpSSLport() { return httpSSLport; } - public void setHttpSSLport(Integer httpSSLport) { + public void setHttpSSLport(int httpSSLport) { this.httpSSLport = httpSSLport; } @@ -637,19 +648,19 @@ this.rtmpModifyStamp = rtmpModifyStamp; } - public Integer getRtmpPort() { + public int getRtmpPort() { return rtmpPort; } - public void setRtmpPort(Integer rtmpPort) { + public void setRtmpPort(int rtmpPort) { this.rtmpPort = rtmpPort; } - public Integer getRtmpSslPort() { + public int getRtmpSslPort() { return rtmpSslPort; } - public void setRtmpSslPort(Integer rtmpSslPort) { + public void setRtmpSslPort(int rtmpSslPort) { this.rtmpSslPort = rtmpSslPort; } @@ -709,11 +720,11 @@ this.rtpProxyDumpDir = rtpProxyDumpDir; } - public Integer getRtpProxyPort() { + public int getRtpProxyPort() { return rtpProxyPort; } - public void setRtpProxyPort(Integer rtpProxyPort) { + public void setRtpProxyPort(int rtpProxyPort) { this.rtpProxyPort = rtpProxyPort; } @@ -749,19 +760,19 @@ this.rtspKeepAliveSecond = rtspKeepAliveSecond; } - public Integer getRtspPort() { + public int getRtspPort() { return rtspPort; } - public void setRtspPort(Integer rtspPort) { + public void setRtspPort(int rtspPort) { this.rtspPort = rtspPort; } - public Integer getRtspSSlport() { + public int getRtspSSlport() { return rtspSSlport; } - public void setRtspSSlport(Integer rtspSSlport) { + public void setRtspSSlport(int rtspSSlport) { this.rtspSSlport = rtspSSlport; } -- Gitblit v1.8.0