Skip to main content

Remote Access & Streaming

The app can publish its local web server through OpenTunnel as a public HTTPS URL, without opening a port on your router. OpenTunnel is a blind TLS tunnel: the certificate's private key stays on the phone.

  1. Set a Username and Password in the app settings and keep Enable Authentication on. The tunnel refuses to start without both, because its URL is public.
  2. In Settings > Remote Access (OpenTunnel), leave the server at https://opentunnel.xyz or enter a self-hosted OpenTunnel server.
  3. Tap Register. The first run creates the tunnel identity and waits for a certificate; this can take a minute or two. The main screen shows one line of progress while it happens.
  4. Once connected, the main screen shows the public https://… URL. Tap it to open the camera in a browser.

The identity, generated certificate, route config and runtime log are stored in the app's private files under files/opentunnel/{config,data,state}. Disconnect & disassociate removes the tunnel from the server and deletes all of those files; the URL cannot be recovered afterwards. A registered tunnel reconnects automatically while the app is running. The OpenTunnel client is built into the APK for arm64-v8a and armeabi-v7a.

📡 RTSP stream​

The app can also serve the camera over RTSP, the protocol most NVRs, home automation systems and video players expect from an IP camera. It is off by default: enable it in Settings > RTSP / ONVIF > Enable RTSP. The address is then shown on the main screen:

rtsps://[username]:[password]@[ip_address]:8554/live

Note: VLC does not reliably handle self-signed TLS certificates for RTSPS streams. Use mpv or ffplay to play, or use a trusted certificate. Disabling TLS may work with VLC, at the risk of sending your username/password in plaintext.

  • Streams: /live is the main H.264 stream; /live/sub is an optional smaller stream for slow links. The camera starts when a client connects and is released when the last one leaves.
  • Security: RTSP Digest authentication with the app username and password, port 8554 by default, and TLS (rtsps://) when enabled. Sub stream, audio, transport, authentication and TLS details are in Server URL Paths & Remote Control API below.

Examples:

  • mpv: mpv "rtsps://[username]:[password]@[ip_address]:8554/live"
  • ffplay: ffplay -rtsp_transport tcp "rtsps://[username]:[password]@[ip_address]:8554/live"

🛰️ ONVIF camera​

ONVIF lets NVRs and home automation systems discover and control the camera as a standard IP camera. It is enabled by Settings > RTSP / ONVIF > Enable RTSP, or automatically while an always-on recording mode (Notify only, Motion clips or Continuous recording) is selected.

  • ONVIF: https://[ip_address]:8000/onvif/device_service (Profile S device, media and media2 services, WS-Discovery), or http:// on the same port when TLS is disabled
  • Snapshot: https://[ip_address]:8000/onvif/snapshot.jpg (or http:// without TLS)
  • RTSP: rtsps://[username]:[password]@[ip_address]:8554/live, or rtsps:// on the same port when TLS is enabled
  • Motion events: modes other than On demand keep the camera running and publish ONVIF motion events through both PullPoint and WS-BaseNotification, so polling clients and hardware NVRs both see motion. Recording modes, event delivery and notification details are in Server URL Paths & Remote Control API below.

UniFi Protect​

  1. If the phone is on the same network as the console, it shows up under third-party cameras. Otherwise, use UniFi Devices > ? > Try advanced adoption and enter [ip_address]:8000 with the app's username and password.
  2. In the camera's Protect settings, turn off audio recording if audio is disabled in the app.
  3. Protect needs a motion zone for third-party cameras before it creates motion events. If none exists, add a full-frame one through the Protect API (the settings UI doesn't offer zones for third-party cameras).

Home Assistant​

Add the phone with the ONVIF integration (host https://[phone-ip], port 8000), or adopt it in UniFi Protect and use the Protect integration. Both expose the camera and a motion binary sensor.