| | |
| | | |
| | | |
| | | spring: |
| | | # 设置接口超时时间 |
| | | mvc: |
| | | async: |
| | | request-timeout: 20000 |
| | | # [可选]上传文件大小限制 |
| | | servlet: |
| | | multipart: |
| | |
| | | idle-timeout: 300000 # 允许连接在连接池中空闲的最长时间(以毫秒为单位) |
| | | max-lifetime: 1200000 # 是池中连接关闭后的最长生命周期(以毫秒为单位) |
| | | |
| | | |
| | | # 修改分页插件为 postgresql, 数据库类型为mysql不需要 |
| | | #pagehelper: |
| | | # helper-dialect: postgresql |
| | | |
| | | # [可选] WVP监听的HTTP端口, 网页和接口调用都是这个端口 |
| | | server: |
| | |
| | | # keepalliveToOnline: false |
| | | # 是否存储alarm信息 |
| | | alarm: false |
| | | |
| | | # 做为JT1078服务器的配置 |
| | | jt1078: |
| | | #[必须修改] 是否开启1078的服务 |
| | | enable: true |
| | | #[必修修改] 1708设备接入的端口 |
| | | port: 21078 |
| | | #[可选] 设备鉴权的密码 |
| | | password: admin123 |
| | | |
| | | #zlm 默认服务器配置 |
| | | media: |
| | |
| | | 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 |
| | | sip-use-source-ip-as-remote-address: false |
| | | # 是否开启sip日志 |
| | | sip-log: true |
| | | # 是否开启sql日志 |
| | | sql-log: true |
| | | # 消息通道功能-缺少国标ID是否给所有上级发送消息 |
| | | send-to-platforms-when-id-lost: true |
| | | # 保持通道状态,不接受notify通道状态变化, 兼容海康平台发送错误消息 |
| | |
| | | max-notify-count-queue: 10000 |
| | | # 设备/通道状态变化时发送消息 |
| | | device-status-notify: false |
| | | # 上级平台点播时不使用上级平台指定的ssrc,使用自定义的ssrc,参考国标文档-点播外域设备媒体流SSRC处理方式 |
| | | use-custom-ssrc-for-parent-invite: true |
| | | # 国标级联离线后多久重试一次注册 |
| | | register-again-after-time: 60 |
| | | # 国标续订方式,true为续订,每次注册在同一个会话里,false为重新注册,每次使用新的会话 |