冲突提交

This commit is contained in:
zqc
2026-03-03 11:52:10 +08:00
parent d215c53629
commit 1bf3aa2ead
2 changed files with 3 additions and 3 deletions

View File

@@ -17,7 +17,7 @@ def init_config(config_path: str = "config.yaml"):
Args:
config_path: 配置文件路径,默认为 config.yaml
"""
global ALERT_PUSH_URL
global ALERT_PUSH_URL, HLS_ROOT_PATH
try:
with open(config_path, "r", encoding="utf-8") as f:

View File

@@ -34,8 +34,8 @@ def get_camera_preview_url(camera_index_code):
"msg": "SUCCESS",
"data": {
# "url": "rtsp://192.168.110.139:8554/test"
"url": "rtsp://192.168.43.33:8554/test"
# "url": "rtsp://localhost:8554/test"
# "url": "rtsp://192.168.43.33:8554/test"
"url": "rtsp://localhost:8554/test"
}
}