Files
zoneminder/web/js
Isaac Connor a12d9749eb fix: use DOM img element and rAF loop for MJPEG stream reception
A detached Image() object does not reliably decode multipart MJPEG
streams — browsers only update a DOM-attached <img> with each frame
from a multipart/x-mixed-replace response. Switch to creating a
hidden DOM <img> element and use requestAnimationFrame to copy
decoded frames to the canvas.

Also properly clean up the img element from the DOM in stop() and
switchEvent(), and guard drawFrame() against drawing before the
first frame has been decoded.

Tested: start, pause, play, seek, setRate, stop all verified
working against a live zms event stream.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-26 14:47:39 -05:00
..
2025-10-16 10:12:21 -04:00
2022-01-20 11:49:59 -05:00
2024-12-18 13:44:20 -05:00
2024-09-18 12:30:04 +03:00
2025-11-06 11:18:24 -05:00
2026-02-03 12:11:32 -05:00