LensCast

com.raulshma.lenscast
by Zapstore Catalog

Turn your phone into a networked camera: web, MJPEG and RTSP streaming

LensCast turns your Android device into a networked camera station with professional controls, remote web access, interval photography, and scheduled recording. Camera • Live preview with a professional quick settings bar • Manual controls: exposure compensation, ISO, white balance, focus mode, zoom • Multi-lens support (ultra-wide, wide, telephoto) with runtime lens switching • HDR, image stabilization, resolution up to 4K, frame rate 15–60 fps • Photo capture and video recording • Night vision / IR mode, scene modes, manual focus distance, color temperature Live streaming • Real-time MJPEG video streaming to any web browser on the same network • Low-latency in-browser playback (WebCodecs over WebSocket) with automatic fallback to MJPEG and HLS • RTSP streaming with AAC audio and H.264/H.265 video at 480p/720p/1080p for VLC, OBS, and NVRs • ONVIF Profile S device service (off by default) so NVRs such as Home Assistant can discover the camera • HTTPS mode with a self-signed on-device certificate Web dashboard • Watch the live stream, browse and download photos and recordings • Full remote control of camera and stream settings • Optional password authentication Automation • Object detection gate (optional): the open-source EfficientDet-Lite0 model — Apache-2.0, downloaded on demand with a pinned SHA-256 from TensorFlow's official hosting — triggers MQTT alerts or recording when configured objects appear • Sound-event gate (optional): the open-source YAMNet model — Apache-2.0, also downloaded on demand with a pinned SHA-256 — triggers alerts or recording when configured sounds are detected • Interval photography and scheduled or continuous recording • Quiet hours for notifications Optional network services (all off by default; each runs only when you enable and configure it) • Telegram backup: auto-uploads new captures to the Telegram chat you choose (api.telegram.org) • Web Push notifications: delivers encrypted detection alerts through your browser vendor's push service (such as Google's FCM or Mozilla's autopush) • Model downloads: the optional detection models above are fetched on demand from TensorFlow's official hosting on Google Cloud storage • STUN server for WebRTC streaming (WHIP push / WHEP viewing): blank by default, so streaming stays on your local network without contacting any third-party server No ads, no tracking, no cloud defaults. All processing stays on your device; the web dashboard is served by a built-in HTTP server on your local network. Note: the F-Droid build ships without the in-app self-updater; updates come from F-Droid.

First release: Nov 6, 2026, 3 total releases.

Most recent release: Nov 17, 2026.

Repo

Appears in 0 app stacks.

0 sats / 0 zaps received in the past year.

Sats Received

Underlying data available via MCP: app_zaps, app_releases.

Zap Count

Underlying data available via MCP: app_zaps, app_releases.

Releases

  • Nov 17, 2026 0.2.2
    Since 0.2.1: • Streaming: unattended streams now heal themselves through a full recovery stack — a watchdog watches the live stream and escalates through increasingly forceful restarts (from a soft restart of the streaming runtime up to restarting the whole server) when frames stall, verifying honestly even with zero viewers or a locked headless mount; a 15-minute out-of-process heartbeat revives a dead app or restarts a wedged server between checks; and a crash while nobody is watching relaunches the app automatically, backing off through a forming crash loop instead of thrashing • Streaming: a server that reports "running" while answering nothing is caught too — a loopback probe hits the server's own /api/system and fires the recovery ladder when every flag lies; a swipe-kill stands the recovery tiers down for exactly one boot, so a stream you killed stays dead • Camera: camera errors now carry a typed recovery verdict, so the dashboard tells "will self-heal" apart from "reboot the phone"; the web console also gains a reset-camera lever that forces a clean camera rebind • Camera: new opt-in camera-resume prompt (off by default) — after a process death or reboot, LensCast may light the screen once with a full-screen tap to bring the camera back, the only unattended path that restores the camera on strict while-in-use devices; opt in if your mount must survive reboots with the screen locked • Camera fix: manual ISO / exposure / zoom controls survive a recording start again — the mid-recording rebind no longer resets night settings to auto until restart, and applied controls land on the live session instead of a dead camera object (issue #18) • Camera fix: saving the dashboard camera section no longer turns the torch off (issue #16), every non-torch write converges on the live LED state so flips from any surface stick, and the system diagnostics report the device's torch brightness ceiling — flat-LED reports are diagnosable without logcat • Streaming: RTSP security is separately switchable — HTTPS on the web console no longer forces RTSPS; an independent RTSP TLS toggle bounces only RTSP, and ONVIF advertises the scheme it actually serves • New: the companion remote — turn a second phone into a remote control for this camera. Pair over the web console (paste a pairing link with inline validation, confirm the TLS fingerprint) and get Live / Events / Media / System tabs, with picture-in-picture for the Live tab • Automation: every rule gains a Run-now test button that fires the rule once and restores everything it touched — verify an automation change without waiting for the schedule or polluting the fire journals
    More…
    • Web console: a reliability panel (watchdog tier, heartbeat misses and verdicts, crash-marker and give-up state) plus an App Restart button with typed modes — soft restart first, full process relaunch when needed • Android: this release adds the Schedule exact alarms permission (android.permission.SCHEDULE_EXACT_ALARM) — exact alarms are how the heartbeat and the relaunch fire through Doze after process death. Granted at install on Android 12; on Android 13+ it is the one-time "Alarms & reminders" grant in Settings. Without it the heartbeat degrades to inexact (still Doze-delivered) alarms, and App Restart reports the missing grant instead of quitting — a dashboard tap can never darken a phone it cannot bring back • Under the hood: the reliability runtime is wired through the streaming service with journal state gates, soft-restart acknowledgment and output re-arm are deterministic, the RTSP digest nonce cap evicts deterministically on expiry ties, and the camera top bar keeps its pinned buttons reachable while the row scrolls **Full Changelog**: https://github.com/raulshma/lenscast/compare/v0.2.1...v0.2.2
  • Nov 14, 2026 0.2.1
    Since 0.2.0: • Streaming: self-healing unattended streams — the watchdog no longer accepts a dead camera as healthy, so a mount nobody watches restarts itself instead of failing silently with no one around to restart it by hand • Streaming: remote starts now wake the camera over the lock screen — a translucent shim shows for the few seconds the camera bind needs, then dismisses itself; the session also stops trusting a bind the system later denies, which used to report a frameless stream as live • Streaming fix: the RTSP preview no longer freezes and fast-forwards — RTP timestamps follow the wall clock instead of delivered-frame counts, with each viewer's send loop decoupled • Streaming fix: a live RTSP resolution change now reconfigures the hub encoder, so switching resolutions mid-stream no longer leaves a persistently broken feed • Streaming fix: HLS segments are spec-valid down to the byte and the player prefers hls.js whenever Media Source is available — previews no longer strand at 0:00 in Chromium browsers • Web preview fix: WHEP demotes to a working player rung when no media arrives (AP isolation, firewalls, NAT) instead of sitting on a black video, and the overlay is burned into the WHEP preview like every other output • Camera: new 4:3 encode tiers (960×720 and 1440×1080) whose aspect steers the motion-analysis window, so 4:3 streams analyze the full frame instead of a double crop; torch strength levels now gate on Android 13 instead of 15, where the raw CameraManager API actually landed • Web console: the beta console UI adopts the Viewfinder design language — cyan is touchable, magenta means on air, red is reserved for faults (REC/LIVE no longer read as errors); full-screen preview with a screen wake lock; the live stream survives navigation in a mini player; deletes run through a themed, localized confirm dialog • Widget: home-screen refresh now covers all five live outputs — a push-only stream no longer leaves the widget Idle; the geotag toggle only persists on a granted permission and says so when it's degraded
    More…
    • Under the hood: 44 implicit state machines across nine modules named and made single-truth, scheduled-recording and geotag strings translated in all six locales, all libraries and packages bumped **Full Changelog**: https://github.com/raulshma/lenscast/compare/v0.2.0...v0.2.1
  • Nov 6, 2026 0.2.0
    Since 0.1.9: • Automation: new if/then rules engine — up to 16 rules, each running up to 8 actions (camera settings, torch, stream, recording, siren, detection toggles) without touching the phone • Automation: event triggers and ONLY WHEN conditions — rules fire on motion, sound, tamper, power and streaming edges, gated by conditions like charging, Wi-Fi, a time window or streaming active, combinable ALL/ANY • Automation: time-of-day rules gain boot catch-up, fire history, per-rule cooldowns, and a per-rule missed-run policy (catch up, skip, or fire within a window after the scheduled moment) • Automation: redesigned automation screen — structured rule cards with WHEN / ONLY WHEN / THEN summaries, a fuller editor with grouped pickers, reorderable conditions and actions, live rule preview, a discard guard and a rotation-proof draft • Background: new Keep Awake setting (on by default) holds a wake lock while the app runs, so a mounted security phone keeps firing rules after the screen locks — quitting the app releases it • Streaming fix: the session wake lock is now renewed during long streams, so a locked phone no longer goes dark after the first streaming hour • Under the hood: nine modules refactored behind seams (push transports, web transport, detection alert sinks, settings credentials, camera policies) with no user-visible behavior change
    More…
    **Full Changelog**: https://github.com/raulshma/lenscast/compare/v0.1.9...v0.2.0