Skip to main content

RTSP, ONVIF & Smart Home

Enable Settings → RTSP / ONVIF → Enable RTSP in the app.

  • RTSP: rtsps://[username]:[password]@[ip_address]:8554/live (main stream, H.264) and /live/sub (smaller stream for slow links). Digest authentication, TLS when enabled, UDP or TCP transport. Use mpv or ffplay (VLC does not handle self-signed RTSPS certificates well).
  • ONVIF: https://[ip_address]:8000/onvif/device_service (Profile S, WS-Discovery, snapshots at /onvif/snapshot.jpg, motion events via PullPoint and WS-BaseNotification). Discovery needs the client on the same network.
  • Home Assistant: add the phone with the ONVIF integration (host https://[ip_address], port 8000), or use the MJPEG stream with the MJPEG IP camera integration.

Frigate (go2rtc) example:

go2rtc:
streams:
growcinema:
- "rtsps://[username]:[password]@[ip_address]:8554/live"
growcinema-sub:
- "rtsps://[username]:[password]@[ip_address]:8554/live/sub"

cameras:
growcinema:
enabled: true
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/growcinema
input_args: preset-rtsp-restream
roles:
- record
- path: rtsp://127.0.0.1:8554/growcinema-sub
input_args: preset-rtsp-restream
roles:
- detect

Without RTSP you can use https://[username]:[password]@[ip_address]:4444/video/h264 as the go2rtc source. URL-encode special characters in the password: python3 -c 'import urllib.parse; print(urllib.parse.quote(input(), safe=""))'.