冲突提交
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user