everything works

This commit is contained in:
guest
2026-05-14 17:17:10 +08:00
parent 8cb1f1e654
commit 170febf0b0
3 changed files with 350 additions and 53 deletions

View File

@@ -178,7 +178,8 @@ async def get_sonar_video(
settings: Settings = Depends(get_settings),
client_id: str = Depends(_resolve_client_id),
):
"""声呐视频:与水面相同经 ffmpeg 转 H.264 后托管在 /media/;整段一个文件,每次返回同一 `video_path` URL。"""
"""声呐视频:经 ffmpeg 切片(顺序完整块或末尾 N 秒,见 BIOMASS_SONAR_SLICE_ORDER
托管在 /media/;每次返回最近成功发布的 ``video_path`` URL。"""
video_path = await get_sonar_video_public_url(settings, client_id)
return JSONResponse(
content={