| | |
| | | |
| | | |
| | | spring: |
| | | # 设置接口超时时间 |
| | | mvc: |
| | | async: |
| | | request-timeout: 20000 |
| | | # [可选]上传文件大小限制 |
| | | servlet: |
| | | multipart: |
| | |
| | | idle-timeout: 300000 # 允许连接在连接池中空闲的最长时间(以毫秒为单位) |
| | | max-lifetime: 1200000 # 是池中连接关闭后的最长生命周期(以毫秒为单位) |
| | | |
| | | # 修改为数据库字段下划线分隔直接对应java驼峰命名 |
| | | mybatis: |
| | | configuration: |
| | | map-underscore-to-camel-case: true |
| | | |
| | | # 修改分页插件为 postgresql, 数据库类型为mysql不需要 |
| | | #pagehelper: |
| | |
| | | enable: true |
| | | # [可选] 在此范围内选择端口用于媒体流传输, 必须提前在zlm上配置该属性,不然自动配置此属性可能不成功 |
| | | port-range: 30000,30500 # 端口范围 |
| | | # [可选] 国标级联在此范围内选择端口发送媒体流,请不要与收流端口范围重合 |
| | | send-port-range: 50502,50506 # 端口范围 |
| | | # 录像辅助服务, 部署此服务可以实现zlm录像的管理与下载, 0 表示不使用 |
| | | record-assist-port: 0 |
| | | |
| | |
| | | stream-on-demand: true |
| | | # 推流鉴权, 默认开启 |
| | | push-authority: true |
| | | # 国标级联发流严格模式,严格模式会使用与sdp信息中一致的端口发流,端口共享media.rtp.port-range,这会损失一些性能, |
| | | # 非严格模式使用随机端口发流,性能更好, 默认关闭 |
| | | gb-send-stream-strict: false |
| | | # 设备上线时是否自动同步通道 |
| | | sync-channel-on-device-online: false |
| | | # 是否使用设备来源Ip作为回复IP, 不设置则为 false |
| | |
| | | device-status-notify: false |
| | | # 上级平台点播时不使用上级平台指定的ssrc,使用自定义的ssrc,参考国标文档-点播外域设备媒体流SSRC处理方式 |
| | | use-custom-ssrc-for-parent-invite: true |
| | | # 国标级联离线后多久重试一次注册 |
| | | register-again-after-time: 60 |
| | | # 国标续订方式,true为续订,每次注册在同一个会话里,false为重新注册,每次使用新的会话 |
| | | register-keep-int-dialog: false |
| | | # 跨域配置,配置你访问前端页面的地址即可, 可以配置多个 |
| | | allowed-origins: |
| | | - http://localhost:8008 |