|  |  |  | 
|---|
|  |  |  | timeout: 10000 | 
|---|
|  |  |  | # [可选] jdbc数据库配置, 项目使用sqlite作为数据库,一般不需要配置 | 
|---|
|  |  |  | datasource: | 
|---|
|  |  |  | # 使用mysql 打开23-28行注释, 删除29-36行 | 
|---|
|  |  |  | # name: wvp | 
|---|
|  |  |  | # url: jdbc:mysql://127.0.0.1:3306/wvp?useUnicode=true&characterEncoding=UTF8&rewriteBatchedStatements=true | 
|---|
|  |  |  | # username: | 
|---|
|  |  |  | # password: | 
|---|
|  |  |  | # type: com.alibaba.druid.pool.DruidDataSource | 
|---|
|  |  |  | # driver-class-name: com.mysql.cj.jdbc.Driver | 
|---|
|  |  |  | name: eiot | 
|---|
|  |  |  | url: jdbc:sqlite::resource:wvp.sqlite | 
|---|
|  |  |  | username: | 
|---|
|  |  |  | 
|---|
|  |  |  | # [必须修改] zlm服务器的内网IP | 
|---|
|  |  |  | ip: 192.168.0.100 | 
|---|
|  |  |  | # [必须修改] zlm服务器的http.port | 
|---|
|  |  |  | httpPort: 80 | 
|---|
|  |  |  | http-port: 80 | 
|---|
|  |  |  | # [可选] zlm服务器的hook.admin_params=secret | 
|---|
|  |  |  | secret: 035c73f7-bb6b-4889-a715-d9eb2d1925cc | 
|---|
|  |  |  | # 启用多端口模式, 多端口模式使用端口区分每路流,兼容性更好。 单端口使用流的ssrc区分, 点播超时建议使用多端口测试 | 
|---|
|  |  |  | 
|---|
|  |  |  | # [可选] 是否启用多端口模式, 开启后会在portRange范围内选择端口用于媒体流传输 | 
|---|
|  |  |  | enable: true | 
|---|
|  |  |  | # [可选] 在此范围内选择端口用于媒体流传输, | 
|---|
|  |  |  | portRange: 30000,30500 # 端口范围 | 
|---|
|  |  |  | port-range: 30000,30500 # 端口范围 | 
|---|
|  |  |  | # 录像辅助服务, 部署此服务可以实现zlm录像的管理与下载, 0 表示不使用 | 
|---|
|  |  |  | recordAssistPort: 0 | 
|---|
|  |  |  |  | 
|---|
|  |  |  | # [根据业务需求配置] | 
|---|
|  |  |  | userSettings: | 
|---|
|  |  |  | # [可选] 自动点播, 使用固定流地址进行播放时,如果未点播则自动进行点播, 需要rtp.enable=true | 
|---|
|  |  |  | autoApplyPlay: false | 
|---|
|  |  |  | # 是否开启接口鉴权 | 
|---|
|  |  |  | interfaceAuthentication: true | 
|---|
|  |  |  | # 推流直播是否录制 | 
|---|
|  |  |  | recordPushLive: true | 
|---|
|  |  |  |  | 
|---|
|  |  |  | # 在线文档: swagger-ui(生产环境建议关闭) | 
|---|
|  |  |  | springfox: | 
|---|
|  |  |  | documentation: | 
|---|
|  |  |  | swagger-ui: | 
|---|
|  |  |  | enabled: true | 
|---|
|  |  |  | record-assist-port: 0 | 
|---|
|  |  |  |  | 
|---|
|  |  |  | # [可选] 日志配置, 一般不需要改 | 
|---|
|  |  |  | logging: | 
|---|
|  |  |  | 
|---|
|  |  |  | max-size: 10MB | 
|---|
|  |  |  | total-size-cap: 300MB | 
|---|
|  |  |  | level: | 
|---|
|  |  |  | com: | 
|---|
|  |  |  | genersoft: | 
|---|
|  |  |  | iot: info | 
|---|
|  |  |  | com.genersoft.iot: debug | 
|---|
|  |  |  | com.genersoft.iot.vmp.storager.dao: info | 
|---|
|  |  |  | com.genersoft.iot.vmp.gb28181: info | 
|---|
|  |  |  |  | 
|---|
|  |  |  | # [根据业务需求配置] | 
|---|
|  |  |  | user-settings: | 
|---|
|  |  |  | # 推流直播是否录制 | 
|---|
|  |  |  | record-push-live: true | 
|---|
|  |  |  |  | 
|---|
|  |  |  | # 在线文档: swagger-ui(生产环境建议关闭) | 
|---|
|  |  |  | swagger-ui: | 
|---|
|  |  |  | enabled: true | 
|---|