server:
  port: 18183
project:
  version: @project.version@

spring:
  data:
    redis:
      # [必须修改] Redis服务器IP, REDIS安装在本机的,使用127.0.0.1
      #    host: 192.168.1.241
      host: 10.10.10.200
      # [必须修改] 端口号
      port: 16379
      # [可选] 数据库 DB
      database: 15
      # [可选] 访问密码,若你的redis服务器没有设置密码，就不需要用密码去连接
      password: 12341234
      # [可选] 超时时间
      timeout: 10000
  datasource:
    type: com.zaxxer.hikari.HikariDataSource
    driver-class-name: com.mysql.cj.jdbc.Driver
    username: root
    password: 12341234
    url: jdbc:mysql://10.10.10.200:3306/gb28181_docking_platform?createDatabaseIfNotExist=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
  config:
    activate:
      on-profile: local
  cloud:
    openfeign:
      httpclient:
        connection-timeout: 0
        ok-http:
          read-timeout: 0

media:
  ip: 10.10.10.200
  url: 'http://10.10.10.200: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://127.0.0.1:18978
    user: admin
    passwd: admin
    use-ffmpeg: true
    enable: false
  gb28181:
    sip:
      id: 44050100002000000003
      domain: 4405010000
      password: 123456
      port: 5063
      ip:
        - 10.10.10.20
#        - 192.168.1.241
ffmpeg-support:
  task:
    max: 4
  ffmpeg: C:\ffmpeg\bin\ffmpeg.exe
  ffprobe: D:\Soft\Captura\ffmpeg\ffprobe.exe
  rtp:
#    input: -i http://10.10.10.200:5080/live/test.live.flv
    input: -re -i
    output: -vcodec copy -acodec copy -movflags empty_moov+frag_keyframe+default_base_moof -f mp4 # -rtsp_transport tcp
  debug:
    download: false
    input: false
    output: false

# [可选] 日志配置, 一般不需要改
logging:
  config: classpath:logback.xml
