冲突提交
This commit is contained in:
@@ -17,7 +17,7 @@ def init_config(config_path: str = "config.yaml"):
|
|||||||
Args:
|
Args:
|
||||||
config_path: 配置文件路径,默认为 config.yaml
|
config_path: 配置文件路径,默认为 config.yaml
|
||||||
"""
|
"""
|
||||||
global ALERT_PUSH_URL
|
global ALERT_PUSH_URL, HLS_ROOT_PATH
|
||||||
|
|
||||||
try:
|
try:
|
||||||
with open(config_path, "r", encoding="utf-8") as f:
|
with open(config_path, "r", encoding="utf-8") as f:
|
||||||
|
|||||||
@@ -34,8 +34,8 @@ def get_camera_preview_url(camera_index_code):
|
|||||||
"msg": "SUCCESS",
|
"msg": "SUCCESS",
|
||||||
"data": {
|
"data": {
|
||||||
# "url": "rtsp://192.168.110.139:8554/test"
|
# "url": "rtsp://192.168.110.139:8554/test"
|
||||||
"url": "rtsp://192.168.43.33:8554/test"
|
# "url": "rtsp://192.168.43.33:8554/test"
|
||||||
# "url": "rtsp://localhost:8554/test"
|
"url": "rtsp://localhost:8554/test"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user