From cef80c753357bb0207a9e08e3b6b1fc6f2349a3d Mon Sep 17 00:00:00 2001 From: 648540858 <648540858@qq.com> Date: Tue, 17 Nov 2020 17:40:03 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E7=BD=AE=E4=B8=A2=E5=A4=B1=E4=BA=86?= =?UTF-8?q?=E4=B8=80=E4=B8=AA=E7=A9=BA=E6=A0=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/application.yml | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 5e6c1fc2..28e1b8c9 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -7,12 +7,12 @@ spring: communicate: http redis: # Redis服务器IP - host: 127.0.0.1 + host: 192.168.1.141 #端口号 port: 6379 database: 6 #访问密码,若你的redis服务器没有设置密码,就不需要用密码去连接 - password: + password: 4767cb971b40a1300fa09b7f87b09d1c #超时时间 timeout: 10000 datasource: @@ -25,7 +25,7 @@ spring: server: port: 18080 sip: - ip: 192.168.1.44 + ip: 192.168.1.20 port: 5060 # 根据国标6.1.2中规定,domain宜采用ID统一编码的前十位编码。国标附录D中定义前8位为中心编码(由省级、市级、区级、基层编号组成,参照GB/T 2260-2007) # 后两位为行业编码,定义参照附录D.3 @@ -40,12 +40,12 @@ auth: #32位小写md5加密(默认密码为admin) password: 21232f297a57a5a743894a0e4a801fc3 media: #zlm服务器的ip与http端口, 重点: 这是http端口 - ip: 192.168.1.44 - wanIp: - port: 80 + ip: 127.0.0.1 + wanIp: 192.168.1.20 + port: 6080 secret: 035c73f7-bb6b-4889-a715-d9eb2d1925cc streamNoneReaderDelayMS: 1800000 # 无人观看多久自动关闭流 - closeWaitRTPInfo: false # 强制关闭等待收到流编码信息后在返回, 设为true可以快速打开播放窗口, 设为false保证返回后流就可以播放 + closeWaitRTPInfo: true # 强制关闭等待收到流编码信息后在返回, 设为true可以快速打开播放窗口, 设为false保证返回后流就可以播放 rtp: # 启用udp多端口模式 enable: true udpPortRange: 30000,30500 # 端口范围 @@ -54,8 +54,10 @@ logging: name: logs/wvp.log max-history: 30 max-size: 10MB - total-size-cap:300MB + total-size-cap: 300MB level: com: genersoft: - iot: debug \ No newline at end of file + iot: debug + +