Skip to content

Add camera capture controls, previews, and IP-based access URLs - #66

Merged
mcroomp merged 2 commits into
mainfrom
feat/camera-settings-preview
Dec 3, 2026
Merged

mcroomp merged 2 commits into
mainfrom
feat/camera-settings-preview

Conversation

@mcroomp

@mcroomp mcroomp commented Dec 3, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add saved phone-camera resolution and frame-rate controls, actual negotiated capture details, and capability-based preset filtering. Exact browser constraints still validate combinations; unsupported changes preserve the current stream.
  • Show resolution/FPS in LinkHub's camera list and open refreshed JPEG previews when a camera is selected. Keep thumbnail bytes out of ordinary status responses and recording files.
  • Add --ip to run_linkhub_ui.cmd and linkhub serve. For wildcard listeners, select a local IP once and use it consistently for startup URLs, the HTTPS certificate, and the camera URL/QR code. Default .local behavior and bind addresses remain unchanged; explicit --listen IP takes precedence.
  • Update the camera, HTTPS identity, and launcher documentation.

Validation

  • LinkHub Rust tests: 193 passed.
  • Windows launcher tests: 15 passed; Ruff and Pyright passed.
  • Focused UI tests: 64 passed; TypeScript/Vite production build passed.
  • Browser checks exercised capability filtering, capture changes, previews, and recording/upload/finalization with a synthetic canvas camera; finalized video decoded with FFmpeg.
  • Runtime --ip smoke test verified numeric startup/camera URLs, the QR response, and the advertised HTTPS camera page using an isolated local UDP listener. No hardware connection was used.

@mcroomp
mcroomp merged commit 22d1cf4 into main Dec 3, 2026
13 checks passed
@mcroomp
mcroomp deleted the feat/camera-settings-preview branch December 3, 2026 05:29
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