feat(video): 可配置 RTSP 打开超时并提高默认时长
- Settings 增加 video_open_timeout_sec(VIDEO_OPEN_TIMEOUT_SEC),默认 45s - SessionManager 全部就绪等待为该值 + 5s;StreamWorker 传入单路超时 - baked pipeline 回退默认值与配置对齐;.env.example 补充说明 - or_site_config.sample.json 扩展穿透摄像头与术间绑定示例 - 同步 uv.lock
This commit is contained in:
@@ -19,6 +19,8 @@ POSTGRES_PORT=35432
|
||||
# UVICORN_RELOAD=true
|
||||
|
||||
# --- Video:RTSP 与按路后端(须与客户端 camera_ids 一致)---
|
||||
# 单路 RTSP 首次打开超时(秒);四路须在「该值 + 5」秒内全部就绪,穿透/公网链路可调大(默认 45)。
|
||||
# VIDEO_OPEN_TIMEOUT_SEC=45
|
||||
# VIDEO_DEFAULT_BACKEND=rtsp
|
||||
# VIDEO_CAMERA_BACKEND_OVERRIDES_JSON={"or-cam-01":"rtsp","or-cam-02":"hikvision_sdk"}
|
||||
# 站点 JSON:术间↔摄像头↔语音终端只在这里维护(voice_or_room_bindings);须同时含 video_rtsp_urls;可为 []。
|
||||
|
||||
Reference in New Issue
Block a user