Skip to main content

USB Webcam

Any UVC-compatible USB webcam can be exposed as an RTSP source using v4l2rtspserver.

Setup

# Install v4l2rtspserver (Debian/Ubuntu/Raspbian)
apt install v4l2rtspserver

# Run (adjust /dev/video0 and resolution as needed)
v4l2rtspserver -W 1280 -H 720 -F 15 /dev/video0

Then use this URL as rtsp_url in the app Configuration tab:

rtsp://<host-ip>:8554/unicast

Use the IP address of the machine running v4l2rtspserver (typically the same machine running HAOS).