4adf3a5c2f
Browser: replace WebRTC/HLS with direct MJPEG HTTP streams (/stream/raw, /stream/overlay) served by the Go server itself. <img> tag, no JavaScript, works in every browser, zero extra encoding. CPU: - Raw RTSP now uses ffmpeg -c:v copy (MJPEG passthrough), eliminating one full libx264 encode pass. - Overlay RTSP throttled to 5fps (OCTOCAM_OVERLAY_RTSP_FPS); browser still receives the full camera framerate via MJPEG HTTP. Architecture: new internal/mjpeg.Broadcaster fans JPEG frames out to any number of HTTP clients with per-client drop-on-full buffering. RTSP URLs shown in the stats bar for VLC / OctoPrint use. Fix .gitignore to use /octocam so it doesn't match cmd/octocam dir. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
3 lines
15 B
Plaintext
3 lines
15 B
Plaintext
/octocam
|
|
dist/
|