From 6fa84b7ecbd608f08ce0c0c5bf3e4c03a3b3f802 Mon Sep 17 00:00:00 2001 From: gx_ma <1773945958@qq.com> Date: Fri, 12 Jul 2024 17:16:46 +0800 Subject: [PATCH] =?UTF-8?q?1.=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6=E6=96=B0?= =?UTF-8?q?=E5=A2=9Esip=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/application-dev.yml | 14 +++++++++++++- .../src/main/resources/application-prod.yml | 11 +++++++++++ 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/springboot/fastbee-admin/src/main/resources/application-dev.yml b/springboot/fastbee-admin/src/main/resources/application-dev.yml index 420d316a..83e4ccd2 100644 --- a/springboot/fastbee-admin/src/main/resources/application-dev.yml +++ b/springboot/fastbee-admin/src/main/resources/application-dev.yml @@ -51,7 +51,7 @@ spring: host: localhost # 地址 port: 6379 # 端口,默认为6379 database: 1 # 数据库索引 - #password: fastbee # 密码 + password: 123456 # 密码 timeout: 10s # 连接超时时间 lettuce: pool: @@ -70,6 +70,18 @@ spring: keepalive: 30 # 保持连接 clearSession: true # 清除会话(设置为false,断开连接,重连后使用原来的会话 保留订阅的主题,能接收离线期间的消息) +# sip 配置 +sip: + enabled: true # 是否启用视频监控SIP,true为启用 + ## 本地调试时,绑定网卡局域网IP,设备在同一局域网,设备接入IP填写绑定IP + ## 部署服务端时,默认绑定容器IP,设备接入IP填写服务器公网IP + #ip: 177.7.0.13 + ip: 192.168.5.27 + port: 5061 # SIP端口(保持默认) + domain: 3402000000 # 由省级、市级、区级、基层编号组成 + id: 34020000002000000001 # 同上,另外增加编号,(可保持默认) + password: 12345678 # 监控设备接入的密码 + # 日志配置 logging: level: diff --git a/springboot/fastbee-admin/src/main/resources/application-prod.yml b/springboot/fastbee-admin/src/main/resources/application-prod.yml index c71783b3..3cb313ea 100644 --- a/springboot/fastbee-admin/src/main/resources/application-prod.yml +++ b/springboot/fastbee-admin/src/main/resources/application-prod.yml @@ -71,6 +71,17 @@ spring: keepalive: 30 # 保持连接 clearSession: true # 清除会话(设置为false,断开连接,重连后使用原来的会话 保留订阅的主题,能接收离线期间的消息) +# sip 配置 +sip: + enabled: true # 是否启用视频监控SIP,true为启用 + ## 本地调试时,绑定网卡局域网IP,设备在同一局域网,设备接入IP填写绑定IP + ## 部署服务端时,默认绑定容器IP,设备接入IP填写服务器公网IP + ip: 177.7.0.13 + port: 5061 # SIP端口(保持默认) + domain: 3402000000 # 由省级、市级、区级、基层编号组成 + id: 34020000002000000001 # 同上,另外增加编号,(可保持默认) + password: 12345678 # 监控设备接入的密码 + # 日志配置 logging: level: