mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-05-14 17:44:40 -04:00
- Integrate EventStream.js into montagereview.js for persistent MJPEG streaming in replay mode (speeds >= 1x), falling back to per-frame mode=single for speeds < 1x where zms lacks slow-motion support - Add EventStream recovery logic: detect zms death via AJAX failures, img.onerror, and error responses; auto-restart with new connkey and exponential backoff (max 5 retries) - Fix zms crash on bulk/interpolated frames: add stat() check in sendFrame() for SaveJPEGs & 1 path, fall through to ffmpeg_input when JPEG file doesn't exist on disk; send "No frame available" text frame instead of terminating when no source available - Center monitor canvases: text-align in CSS for scale mode, horizontal offset calculation in maxfit2() for fit mode - Reduce console noise: comment out high-frequency debug logs, convert error-path logs to console.warn/error - Fix ESLint sourceType to "script" for traditional non-module JS files, resolving false-positive no-unused-vars on global functions Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
16 KiB
16 KiB