gb28181-docking-platform-proxy/gb28181-wvp-proxy-starter/src/main/resources/application.yml
2023-09-20 09:39:58 +08:00

78 lines
1.9 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

server:
port: 18183
project:
version: @project.version@
spring:
data:
redis:
# [必须修改] Redis服务器IP, REDIS安装在本机的,使用127.0.0.1
# host: 192.168.1.241
host: 192.168.1.241
# [必须修改] 端口号
port: 6379
# [可选] 数据库 DB
database: 15
# [可选] 访问密码,若你的redis服务器没有设置密码就不需要用密码去连接
password:
# [可选] 超时时间
timeout: 10000
datasource:
type: com.zaxxer.hikari.HikariDataSource
driver-class-name: com.mysql.cj.jdbc.Driver
username: root
password: 123456a
url: jdbc:mysql://192.168.1.241:3306/gb28181_docking_platform?createDatabaseIfNotExist=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
# profiles:
# active: local
cloud:
openfeign:
httpclient:
connection-timeout: 0
ok-http:
read-timeout: 0
hc5:
connection-request-timeout: 60
connection-request-timeout-unit: seconds
media:
ip: 192.168.1.241
url: 'http://192.168.1.241:5080'
# url: 'http://10.10.10.200:12580/anything/'
id: amrWMKmbKqoBjRQ9
secret: 035c73f7-bb6b-4889-a715-d9eb2d1925cc
# secret: 4155cca6-2f9f-11ee-85e6-8de4ce2e7333
proxy:
wvp:
url: http://192.168.1.241:18978
user: admin
passwd: admin
use-wvp-assist: false
enable: true
use-ffmpeg: false
gb28181:
sip:
id: 44050100002000000004
domain: 4405010000
password: 123456
port: 5063
ip:
- 192.168.0.195
# - 192.168.3.10
# - 192.168.1.241
ffmpeg-support:
task:
max: 4
ffmpeg: /usr/bin/ffmpeg/ffmpeg
ffprobe: /usr/bin/ffmpeg/ffprobe
rtp:
input: -i
output: -vcodec h264 -acodec aac -movflags empty_moov+frag_keyframe+default_base_moof -f mp4 # -rtsp_transport tcp
debug:
download: false
input: false
output: false