Compare commits

...

4 Commits

Author SHA1 Message Date
zqc
44c97a14af Merge remote-tracking branch 'origin/master' 2026-03-03 11:54:48 +08:00
zqc
1bf3aa2ead 冲突提交 2026-03-03 11:52:10 +08:00
zqc
d215c53629 Merge commit 'origin/master~' 2026-03-03 11:49:57 +08:00
zqc
ffcae59124 rtsp同步修改 2026-03-03 11:35:28 +08:00
3 changed files with 4 additions and 4 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

@@ -176,7 +176,7 @@ class RTSPService:
self.stop_event = threading.Event()
self.raw_queue = queue.Queue(maxsize=2)
self.ws_queue = queue.Queue(maxsize=1000)
self.ws_queue = queue.Queue(maxsize=10)
self.capture_workers = []
self.biz_processor = get_processor(self.algorithm)(self.raw_queue, self.ws_queue, self.stop_event, self.cameras)

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"
}
}