Commit 73f6f044a1aa58b9c422d19c30198bb515e7616d

Authored by chenzhangyue
1 parent bf8fbf49

local dev

src/main/resources/application-dev.yml
@@ -19,14 +19,14 @@ spring: @@ -19,14 +19,14 @@ spring:
19 # [可选] 数据库 DB 19 # [可选] 数据库 DB
20 database: 7 20 database: 7
21 # [可选] 访问密码,若你的redis服务器没有设置密码,就不需要用密码去连接 21 # [可选] 访问密码,若你的redis服务器没有设置密码,就不需要用密码去连接
22 - password: 22 + password: luna
23 # [可选] 超时时间 23 # [可选] 超时时间
24 timeout: 10000 24 timeout: 10000
25 # mysql数据源 25 # mysql数据源
26 datasource: 26 datasource:
27 type: com.zaxxer.hikari.HikariDataSource 27 type: com.zaxxer.hikari.HikariDataSource
28 driver-class-name: com.mysql.cj.jdbc.Driver 28 driver-class-name: com.mysql.cj.jdbc.Driver
29 - url: jdbc:mysql://127.0.0.1:3306/test_gb-89wulian?useUnicode=true&characterEncoding=UTF8&rewriteBatchedStatements=true&serverTimezone=PRC&useSSL=false&allowMultiQueries=true 29 + url: jdbc:mysql://127.0.0.1:3306/wvp?useUnicode=true&characterEncoding=UTF8&rewriteBatchedStatements=true&serverTimezone=PRC&useSSL=false&allowMultiQueries=true
30 username: root 30 username: root
31 password: root 31 password: root
32 hikari: 32 hikari:
@@ -38,7 +38,7 @@ spring: @@ -38,7 +38,7 @@ spring:
38 max-lifetime: 1200000 # 是池中连接关闭后的最长生命周期(以毫秒为单位) 38 max-lifetime: 1200000 # 是池中连接关闭后的最长生命周期(以毫秒为单位)
39 #[可选] WVP监听的HTTP端口, 网页和接口调用都是这个端口 39 #[可选] WVP监听的HTTP端口, 网页和接口调用都是这个端口
40 server: 40 server:
41 - port: 18978 41 + port: 8080
42 # [可选] HTTPS配置, 默认不开启 42 # [可选] HTTPS配置, 默认不开启
43 ssl: 43 ssl:
44 # [可选] 是否开启HTTPS访问 44 # [可选] 是否开启HTTPS访问
@@ -56,7 +56,7 @@ sip: @@ -56,7 +56,7 @@ sip:
56 # 如果要监听多张网卡,可以使用逗号分隔多个IP, 例如: 192.168.1.4,10.0.0.4 56 # 如果要监听多张网卡,可以使用逗号分隔多个IP, 例如: 192.168.1.4,10.0.0.4
57 # 如果不明白,就使用0.0.0.0,大部分情况都是可以的 57 # 如果不明白,就使用0.0.0.0,大部分情况都是可以的
58 # 请不要使用127.0.0.1,任何包括localhost在内的域名都是不可以的。 58 # 请不要使用127.0.0.1,任何包括localhost在内的域名都是不可以的。
59 - ip: 192.168.1.18 59 + ip: 172.19.128.50
60 # [可选] 28181服务监听的端口 60 # [可选] 28181服务监听的端口
61 port: 8116 61 port: 8116
62 # 根据国标6.1.2中规定,domain宜采用ID统一编码的前十位编码。国标附录D中定义前8位为中心编码(由省级、市级、区级、基层编号组成,参照GB/T 2260-2007) 62 # 根据国标6.1.2中规定,domain宜采用ID统一编码的前十位编码。国标附录D中定义前8位为中心编码(由省级、市级、区级、基层编号组成,参照GB/T 2260-2007)
@@ -73,21 +73,21 @@ sip: @@ -73,21 +73,21 @@ sip:
73 73
74 #zlm 默认服务器配置 74 #zlm 默认服务器配置
75 media: 75 media:
76 - id: 89wulian-one 76 + id: zlmediakit-local
77 # [必须修改] zlm服务器的内网IP 77 # [必须修改] zlm服务器的内网IP
78 - ip: 192.168.1.18 78 + ip: 172.19.128.50
79 # [必须修改] zlm服务器的http.port 79 # [必须修改] zlm服务器的http.port
80 - http-port: 80 80 + http-port: 9092
81 # [可选] 返回流地址时的ip,置空使用 media.ip 81 # [可选] 返回流地址时的ip,置空使用 media.ip
82 - stream-ip: 192.168.1.18 82 + stream-ip: 172.19.128.50
83 # [可选] wvp在国标信令中使用的ip,此ip为摄像机可以访问到的ip, 置空使用 media.ip 83 # [可选] wvp在国标信令中使用的ip,此ip为摄像机可以访问到的ip, 置空使用 media.ip
84 - sdp-ip: 192.168.1.18 84 + sdp-ip: 172.19.128.50
85 # [可选] zlm服务器的hook所使用的IP, 默认使用sip.ip 85 # [可选] zlm服务器的hook所使用的IP, 默认使用sip.ip
86 - hook-ip: 192.168.1.18 86 + hook-ip: 172.19.128.50
87 # [可选] zlm服务器的http.sslport, 置空使用zlm配置文件配置 87 # [可选] zlm服务器的http.sslport, 置空使用zlm配置文件配置
88 - http-ssl-port: 443 88 + http-ssl-port: 1443
89 # [可选] zlm服务器的hook.admin_params=secret 89 # [可选] zlm服务器的hook.admin_params=secret
90 - secret: 035c73f7-bb6b-4889-a715-d9eb2d1925cc 90 + secret: 10000
91 # 启用多端口模式, 多端口模式使用端口区分每路流,兼容性更好。 单端口使用流的ssrc区分, 点播超时建议使用多端口测试 91 # 启用多端口模式, 多端口模式使用端口区分每路流,兼容性更好。 单端口使用流的ssrc区分, 点播超时建议使用多端口测试
92 rtp: 92 rtp:
93 # [可选] 是否启用多端口模式, 开启后会在portRange范围内选择端口用于媒体流传输 93 # [可选] 是否启用多端口模式, 开启后会在portRange范围内选择端口用于媒体流传输
src/main/resources/application.yml
@@ -2,4 +2,4 @@ spring: @@ -2,4 +2,4 @@ spring:
2 application: 2 application:
3 name: wvp 3 name: wvp
4 profiles: 4 profiles:
5 - active: local  
6 \ No newline at end of file 5 \ No newline at end of file
  6 + active: dev
7 \ No newline at end of file 7 \ No newline at end of file