hls适配新的分片下载逻辑

This commit is contained in:
zqc
2026-02-28 14:51:16 +08:00
parent 85bad4aa78
commit cd27032e6d
3 changed files with 107 additions and 62 deletions

View File

@@ -7,6 +7,8 @@ logger = get_logger(__name__)
ALERT_PUSH_URL = ""
HLS_ROOT_PATH = ""
HLS_SEGMENT_PATTERN = "segment_%09d.ts" # TS文件命名模式
def init_config(config_path: str = "config.yaml"):
"""