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_dev?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
    # 是否使用 wvp 的 api(wvp 的 并发有问题,仅保留用于兼容), 否则使用sip 信令直接操作设备
    enable: false
    # 是否使用 ffmpeg 编/解码, 否则使用内置 javacv
    use-ffmpeg: true
  gb28181:
    sip:
      id: 44050100002000000005
      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
  ffmpeg: C:\ffmpeg\bin\ffmpeg.exe
  ffprobe: /usr/bin/ffmpeg/ffprobe
  rtp:
    input: -re -i
    output: -preset ultrafast -tune zerolatency -vcodec libx264 -acodec aac -movflags empty_moov+frag_keyframe+default_base_moof -f mp4 # -rtsp_transport tcp
    download: -thread_queue_size 128 -i
  debug:
    download: false
    input: false
    output: false

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