hls适配新的分片下载逻辑
This commit is contained in:
@@ -190,6 +190,10 @@ def start_service_group(group: dict, hls_config: dict = None):
|
||||
"--algorithm", algorithm
|
||||
]
|
||||
|
||||
# 如果是HLS类型,添加hls-root-path参数
|
||||
if video_source_type == "hls" and hls_config:
|
||||
cmd.extend(["--hls-root-path", hls_config.get("hls_root_path", "")])
|
||||
|
||||
logger.info(f"[INFO] Starting service group '{group_name}': ws={ws_host}:{ws_port}, algorithm={algorithm}, source={video_source_type}")
|
||||
|
||||
# DEBUG_MODE=True 时前台运行,方便调试;False 时后台运行,适合部署
|
||||
|
||||
Reference in New Issue
Block a user