| | |
| | | # webrtc-streamer配置 |
| | | webrtc: |
| | | enabled: false |
| | | host: 127.0.0.1:8000 |
| | | # minio配置 |
| | | minio: |
| | | endpoint: http://192.168.1.15:9001 |
| | | enabled: false |
| | | endpoint: http://192.168.1.227:9000 |
| | | accessKey: admin |
| | | secretKey: xzx12345 |
| | | path: G:/DATA |
| | | # forest配置 |
| | | forest: |
| | | bean-id: config0 # 在spring上下文中bean的id, 默认值为forestConfiguration |
| | | backend: okhttp3 # 后端HTTP API: okhttp3 【支持`okhttp3`/`httpclient`】 |
| | | max-connections: 1000 # 连接池最大连接数,默认值为500 |
| | | max-route-connections: 500 # 每个路由的最大连接数,默认值为500 |
| | | timeout: 13000 # 请求超时时间,单位为毫秒, 默认值为3000 |
| | | connect-timeout: 3000 # 连接超时时间,单位为毫秒, 默认值为2000 |
| | | retry-count: 0 # 请求失败后重试次数,默认为0次不重试 |
| | | ssl-protocol: SSLv3 # 单向验证的HTTPS的默认SSL协议,默认为SSLv3 |
| | | logEnabled: true # 打开或关闭日志,默认为true |
| | | backend: okhttp3 # 后端HTTP框架(默认为 okhttp3) |
| | | max-connections: 1000 # 连接池最大连接数(默认为 500) |
| | | max-route-connections: 500 # 每个路由的最大连接数(默认为 500) |
| | | max-request-queue-size: 100 # [自v1.5.22版本起可用] 最大请求等待队列大小 |
| | | max-async-thread-size: 300 # [自v1.5.21版本起可用] 最大异步线程数 |
| | | max-async-queue-size: 16 # [自v1.5.22版本起可用] 最大异步线程池队列大小 |
| | | timeout: 3000 # [已不推荐使用] 请求超时时间,单位为毫秒(默认为 3000) |
| | | connect-timeout: 3000 # 连接超时时间,单位为毫秒(默认为 timeout) |
| | | read-timeout: 3000 # 数据读取超时时间,单位为毫秒(默认为 timeout) |
| | | max-retry-count: 0 # 请求失败后重试次数(默认为 0 次不重试) |
| | | ssl-protocol: TLS # 单向验证的HTTPS的默认TLS协议(默认为 TLS) |
| | | log-enabled: true # 打开或关闭日志(默认为 true) |
| | | log-request: true # 打开/关闭Forest请求日志(默认为 true) |
| | | log-response-status: true # 打开/关闭Forest响应状态日志(默认为 true) |
| | | log-response-content: true # 打开/关闭Forest响应内容日志(默认为 false) |
| | | async-mode: platform # [自v1.5.27版本起可用] 异步模式(默认为 platform) |
| | | #流媒体转码服务器 |
| | | mediamtx: |
| | | enabled: false |
| | | host: 127.0.0.1 |
| | | #mqtt |
| | | mqtt: |
| | | host: tcp://192.168.1.15:1883 |
| | | clientId: m3 |
| | | username: admin |
| | | password: xzx12345 |
| | | topic: apponekey,radar |
| | | timeout: 100 |
| | | keepalive: 60 |
| | | enabled: true |
| | | |
| | | #异步线程池配置 |
| | | ThreadPoolTask: |
| | | corePoolSize: 20 |
| | | maxPoolSize: 40 |
| | | keepAliveSeconds: 300 |
| | | queueCapacity: 50 |