mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-11-30 01:07:07 +03:00
Merge remote-tracking branch 'origin/master' into dev
Conflict resolutions: - Makefile: keep dev's VERSION 0.19.0 - docker/main/build_nginx.sh: take master's NGINX_VERSION 1.30.7 (CVE fix) - docker/main/rootfs/usr/local/nginx/conf/nginx.conf: take dev's side, which already contains everything #25009 adds Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+13
-1
@@ -109,7 +109,19 @@ def _resolve_cache_age(max_cache_age: int) -> int:
|
||||
return max_cache_age.default
|
||||
|
||||
|
||||
@router.get("/{camera_name}", dependencies=[Depends(require_camera_access)])
|
||||
@router.get(
|
||||
"/{camera_name}",
|
||||
dependencies=[Depends(require_camera_access)],
|
||||
description=(
|
||||
"An MJPEG stream of the camera's latest processed frame, intended for debugging only. "
|
||||
"Every frame of every open stream is color converted, annotated, resized, and JPEG "
|
||||
"encoded in Frigate's main process, which adds load to the system and can slow down "
|
||||
"Frigate's processing. It is strictly not recommended to view this stream "
|
||||
"continuously, such as on a dashboard. For live viewing, use a go2rtc restream "
|
||||
"instead. The frame rate and resolution can be raised with the fps and height "
|
||||
"parameters, for example ?fps=10&height=1080, at the cost of additional load."
|
||||
),
|
||||
)
|
||||
async def mjpeg_feed(
|
||||
request: Request,
|
||||
camera_name: str,
|
||||
|
||||
Reference in New Issue
Block a user