Skip to content

Beta 0.2.4-beta.2

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 26 Nov 17:50
· 15 commits to main since this release

Unstable beta build from commit 19bf3fa, cut ahead of the next stable release.

What's new in this beta

Fixes for every symptom reported against 0.2.4-beta.1 in #26 — this beta is cut specifically so that reporter can verify.

Lenses stop vanishing when switching (#26)

  • The S20's disappearing main lens is healed in place: when CameraX's camera list drops the selected lens mid-session, the provider is rebuilt and lenses re-enumerated before rebinding — so RESET CAMERA and SOFT RESTART now recover on their own instead of requiring an app restart.
  • Bind retries once after re-enumeration, and soft recovery takes the same path, so a stale camera list can no longer wedge the session in "No available camera can be found".

QR pairing no longer freezes the feed (#26)

  • The QR analyzer reads the Y plane from a private, rewound buffer: a preceding consumer that advanced the shared buffer position could throw on tight-packed frames, which froze the feed with the QR visible and never advanced pairing.

Network discovery actually finds devices (#26)

  • The pairing radar no longer rejects LensCast adverts at discovery time — Android delivers empty TXT records there, so the lenscast=1 marker is checked after resolve instead.
  • Resolves are serialized on Android < 14 (one at a time, LensCast-named services first) so a LAN full of other _http._tcp devices (printers, smart-home hubs) can't starve the scan with FAILURE_ALREADY_ACTIVE; Android 14+ uses the per-service callback API with proper teardown on service loss.
  • The server now advertises with a Wi-Fi multicast lock held (and re-registers the advert when its port changes), so firmware mDNS filters stop dropping browse queries from idle devices.

Web / RTSP / RTMP turn back on (#26)

  • Disabling an output mid-stream used to leave it permanently off: each output now records that it was suspended by the disable toggle and resumes when re-enabled — including immediately, while a stream is live.

Soft restart keeps the camera alive (#26)

  • The soft-restart ladder no longer tears down the streaming foreground service mid-run (which made the restarted server fail to promote itself from the background) and ends the session only when the restart didn't actually need it.
  • Background foreground-service start denials are tolerated instead of crashing the session start, and a soft restart mid-choreography no longer stops the foreground service.

Also in this round

  • Scene modes speak Camera2: the camera settings dropdown offers the full scene catalog (matching the web dashboard), FACE_DETECTION maps to the real FACE_PRIORITY, and web-saved scene modes parse through the same seam.
  • Dashboard login stays responsive under load: password verification moved off the shared rate-limit lock, and repeated Basic-auth requests reuse a small verified-credential cache (invalidated when credentials rotate).
  • Web console: inspector edits stop remounting panels (list changes animate, reduced-motion safe), hiding a section asks first with a per-browser "don't ask again", the console head stays one compact row, and the preview's secondary controls can collapse to icons.
  • App Settings' "Show Camera Preview" now says it controls this device's preview (the #26 reporter's clarification question).

Good things to focus testing on

  • Lens switching on a device that showed the vanishing lens (the S20 case): switch repeatedly, and reach for RESET CAMERA / SOFT RESTART instead of an app restart when it misbehaves

  • QR pairing and network discovery on a busy LAN, and discovery of a server that has been idle for a while

  • Toggling Web / RTSP / RTMP off and back on mid-stream, and soft-restarting from the dashboard with the phone screen off or the app backgrounded

  • Inspector editing on the web console: reorder and hide sections while watching for flicker, scroll jumps, or panels losing their place

  • Installs straight over LensCast stable — same app, same settings. Most phones want the arm64-v8a APK.

  • Beta-to-beta updates: enable "Include Beta Releases" in App Settings → Updates (GitHub/store builds only; F-Droid has no self-updater) and the in-app updater offers newer betas automatically.

  • Going back to the current stable is not possible after installing a beta (Android blocks downgrades) — the next stable release replaces it and the in-app updater will offer it as usual.

  • Feedback welcome: open an issue and mention the beta version you were on.

Full Changelog: v0.2.4-beta.1...v0.2.4-beta.2