主启动适配hls

This commit is contained in:
zqc
2026-02-27 12:05:44 +08:00
parent a72b8116a5
commit 1df6b83184
2 changed files with 31 additions and 20 deletions

View File

@@ -36,7 +36,7 @@ debug_mode: true
service_groups:
- name: "kadian_group" # 服务组名称
video_source_type: "rtsp"
video_source_type: "hls"
ws_host: "0.0.0.0" # WebSocket 服务地址
ws_port: 8765 # WebSocket 服务端口
algorithm: "kadian" # 算法类型
@@ -50,18 +50,18 @@ service_groups:
- [0.5, 0.001]
- [1.0, 0.8]
- [0.35, 1.0]
- name: "prison_group" # 服务组名称
video_source_type: "hls"
ws_host: "0.0.0.0" # WebSocket 服务地址
ws_port: 8766 # WebSocket 服务端口
algorithm: "prison" # 算法类型
cameras: # 该组下的摄像头列表
- id: 1
index: testindexcode
name: Entrance
params:
roi_points:
- [0.15, 0.001]
- [0.5, 0.001]
- [1.0, 0.8]
- [0.35, 1.0]
#- name: "prison_group" # 服务组名称
# video_source_type: "hls"
# ws_host: "0.0.0.0" # WebSocket 服务地址
# ws_port: 8766 # WebSocket 服务端口
# algorithm: "prison" # 算法类型
# cameras: # 该组下的摄像头列表
# - id: 1
# index: testindexcode
# name: Entrance
# params:
# roi_points:
# - [0.15, 0.001]
# - [0.5, 0.001]
# - [1.0, 0.8]
# - [0.35, 1.0]