From 87e7d0026f2a0feae169f103f90256005968b6aa Mon Sep 17 00:00:00 2001 From: lawrencehj <1934378145@qq.com> Date: Fri, 23 Jul 2021 16:56:32 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3@value=E6=B3=A8=E8=A7=A3?= =?UTF-8?q?=E6=97=A0=E6=B3=95=E8=B5=8B=E9=BB=98=E8=AE=A4=E5=80=BC=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../genersoft/iot/vmp/conf/MediaConfig.java | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/conf/MediaConfig.java b/src/main/java/com/genersoft/iot/vmp/conf/MediaConfig.java index 88e8a64d..f2a0bcd0 100644 --- a/src/main/java/com/genersoft/iot/vmp/conf/MediaConfig.java +++ b/src/main/java/com/genersoft/iot/vmp/conf/MediaConfig.java @@ -31,31 +31,31 @@ public class MediaConfig implements IMediaServerItem { private Integer httpPort; @Value("${media.http-ssl-port:0}") - private Integer httpSSlPort; + private Integer httpSSlPort = 0; @Value("${media.rtmp-port:0}") - private Integer rtmpPort; + private Integer rtmpPort = 0; @Value("${media.rtmp-ssl-port:0}") - private Integer rtmpSSlPort; + private Integer rtmpSSlPort = 0; @Value("${media.rtp-proxy-port:0}") - private Integer rtpProxyPort; + private Integer rtpProxyPort = 0; @Value("${media.rtsp-port:0}") - private Integer rtspPort; + private Integer rtspPort = 0; @Value("${media.rtsp-ssl-port:0}") - private Integer rtspSSLPort; + private Integer rtspSSLPort = 0; @Value("${media.auto-config:true}") - private boolean autoConfig; + private boolean autoConfig = true; @Value("${media.secret}") private String secret; @Value("${media.stream-none-reader-delay-ms:18000}") - private String streamNoneReaderDelayMS; + private String streamNoneReaderDelayMS = "18000"; @Value("${media.rtp.enable}") private boolean rtpEnable; @@ -64,7 +64,7 @@ public class MediaConfig implements IMediaServerItem { private String rtpPortRange; @Value("${media.record-assist-port:0}") - private Integer recordAssistPort; + private Integer recordAssistPort = 0; private String updateTime;