Commit Graph
5 Commits
Author SHA1 Message Date
nulledy b2b48853b8 ruff formatting 2026-07-12 18:00:09 +00:00
nulledy dbdfb4a6d2 Change JWT cookie expiration to use max_age and have the appropriate expiration time based on JWT_SESSION_LENGTH 2026-07-12 17:38:17 +00:00
nulledyandGitHub 902f0c5bee Add logout endpoint to Nginx configuration to prevent logout from silently generating a new frigate_token cookie 2026-07-11 13:03:54 -04:00
nulledyandNicolas Mowen 84760c42cb ffmpeg Preview Segment Optimization for "high" and "very_high" (#21996)
* Introduce qmax parameter for ffmpeg preview encoding

Added PREVIEW_QMAX_PARAM to control ffmpeg encoding quality.

* formatting

* Fix spacing in qmax parameters for preview quality
2026-02-26 21:27:56 -07:00
nulledyandNicolas Mowen bb6e889449 Allow API Events to be Detections or Alerts, depending on the Event Label (#21923)
* - API created events will be alerts OR detections, depending on the event label, defaulting to alerts
- Indefinite API events will extend the recording segment until those events are ended
- API event start time is the actual start time, instead of having a pre-buffer of record.event_pre_capture

* Instead of checking for indefinite events on a camera before deciding if we should end the segment, only update last_detection_time and last_alert_time if frame_time is greater, which should have the same effect

* Add the ability to set a pre_capture number of seconds when creating a manual event via the API. Default behavior unchanged

* Remove unnecessary _publish_segment_start() call

* Formatting

* handle last_alert_time or last_detection_time being None when checking them against the frame_time

* comment manual_info["label"].split(": ")[0] for clarity
2026-02-26 21:27:56 -07:00