| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- # dev 环境;Nacos video-service-dev.yaml 可覆盖本文件的启动配置。
- server:
- port: ${VIDEO_HTTP_PORT:8330}
- address: ${VIDEO_BIND_ADDRESS:127.0.0.1}
- spring:
- datasource:
- dynamic:
- primary: master
- strict: true
- datasource:
- master:
- driver-class-name: com.kingbase8.Driver
- url: ${VIDEO_DB_URL}
- username: ${VIDEO_DB_USER}
- password: ${VIDEO_DB_PASSWORD}
- redis:
- host: ${VIDEO_REDIS_HOST:127.0.0.1}
- port: ${VIDEO_REDIS_PORT:6379}
- password: ${VIDEO_REDIS_PASSWORD:}
- database: ${VIDEO_REDIS_DATABASE:6}
- mvc:
- async:
- request-timeout: 95000
- mybatis:
- mapper-locations: classpath*:mapper/**/*.xml
- configuration:
- map-underscore-to-camel-case: true
- pagehelper:
- helper-dialect: postgresql
- reasonable: true
- sip:
- ip: ${VIDEO_SIP_IP}
- show-ip: ${VIDEO_SIP_ADVERTISED_IP:${VIDEO_SIP_IP}}
- port: ${VIDEO_SIP_PORT:8116}
- domain: ${VIDEO_SIP_DOMAIN:4101050000}
- id: ${VIDEO_SIP_ID:41010500002000000002}
- password: ${VIDEO_SIP_PASSWORD}
- alarm: false
- media:
- id: ${VIDEO_MEDIA_ID:city_video_zlm}
- ip: ${VIDEO_MEDIA_HOST:127.0.0.1}
- hook-ip: ${VIDEO_HOOK_IP:127.0.0.1}
- sdp-ip: ${VIDEO_RTP_IP:${VIDEO_SIP_IP}}
- stream-ip: ${VIDEO_STREAM_HOST:127.0.0.1}
- http-port: ${VIDEO_MEDIA_HTTP_PORT:8094}
- rtsp-port: ${VIDEO_MEDIA_RTSP_PORT:8556}
- rtmp-port: ${VIDEO_MEDIA_RTMP_PORT:1937}
- secret: ${VIDEO_MEDIA_SECRET}
- auto-config: true
- rtp:
- enable: true
- port-range: ${VIDEO_RTP_PORT_RANGE:31000,31500}
- send-port-range: ${VIDEO_RTP_SEND_PORT_RANGE:31501,32000}
- user-settings:
- server-id: ${VIDEO_SERVER_ID:city-video-01}
- play-timeout: 20000
- interface-authentication: true
- sync-channel-on-device-online: true
- record-sip: false
- record-push-live: false
- stream-on-demand: true
- sip-log: false
- video:
- internal-token: ${VIDEO_INTERNAL_TOKEN}
- hook-allowed-addresses: ${VIDEO_HOOK_ALLOWED_ADDRESSES:127.0.0.1,0:0:0:0:0:0:0:1}
- version:
- version: 1.0.0
- artifactId: video-service
- description: 城市生命线国标视频服务
|