Skip to content

feat(ws_bridge): add pushed camera video - #330

Merged
eigger merged 2 commits into
masterfrom
codex/ws-bridge-live-camera-video
Oct 26, 2026
Merged

eigger merged 2 commits into
masterfrom
codex/ws-bridge-live-camera-video

Conversation

@eigger

@eigger eigger commented Oct 26, 2026

Copy link
Copy Markdown
Owner

Summary

  • add opt-in viewer-driven pushed-JPEG camera video (video: true)
  • route stream commands through WsBridgeDevice; declare push_stream only for live camera items
  • bound capture/upload with local FPS and bandwidth limits, a latest-frame slot, and prompt stop/reconnect handling
  • document still photos versus live MJPEG and add ESP-IDF compile coverage

Validation

  • ESPHome 2026.10 config validation: ordinary, snapshot, and video fixtures
  • focused actual-C++ host harness: legacy media recovery, queue-full and stale-event paths; live start/stop/disconnect demand; FPS scheduling and bandwidth deadline
  • ESP-IDF 5.5.6 compiled ws_bridge_snapshot.cpp through the video fixture; GitHub CI is the authoritative full matrix

eigger and others added 2 commits October 26, 2026 16:41
- reject video_max_bandwidth 0 (divide by zero) in schema, setter and send path
- order stop/start with a stop epoch so a new session is never torn down
- make repeated start_stream idempotent; reset open backoff on a fresh start
- skip stale START after a later stop; skip capture while upload is throttled
- do not declare failed snapshots; reject video-only options without video: true
- document video-mode behavior; add schema test and CI workflow

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@eigger
eigger merged commit d15eaea into master Oct 26, 2026
10 checks passed
@eigger
eigger deleted the codex/ws-bridge-live-camera-video branch October 26, 2026 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant