Home Assistant RTSP Camera & go2rtc Low-Latency Setup Guide
Stream IP cameras to Home Assistant Lovelace dashboards with under 200ms delay using go2rtc and WebRTC.
Need an active live RTSP stream to test this integration?
Generate a free 20-minute authenticated live H.264 video feed with frame counters to test in VLC, OpenCV, or NVR software.
#1Configuring go2rtc in Home Assistant
Add your camera streams to go2rtc.yaml for instant WebRTC transcoding and 2-way audio support. If you need help finding your camera model's exact stream syntax, construct your paths with our IP Camera RTSP URL Builder:
streams:
driveway_cam:
- rtsp://admin:[email protected]:554/Streaming/Channels/101
- "ffmpeg:driveway_cam#audio=opus"
backyard_cam:
- rtsp://admin:[email protected]:554/cam/realmonitor?channel=1&subtype=0#2Lovelace WebRTC Camera Card
Use the custom webrtc-camera card in your Lovelace dashboard for instantaneous playback without HLS buffering delay. To understand the protocol-level performance differences, read our RTSP vs WebRTC Low-Latency Comparison:
type: custom:webrtc-camera
url: driveway_cam
title: Driveway HD
muted: trueFrequently Asked Questions
Why is standard Home Assistant camera stream delayed by 10 seconds?
By default, Home Assistant converts RTSP into HLS (HTTP Live Streaming) with 3 segments of 2-3 seconds each. Using go2rtc switches the stream to WebRTC or MSE, dropping latency to under 200 milliseconds.
Ready to test your live RTSP video stream?
Generate free authenticated 20-minute RTSP links with unlimited bandwidth and inspect frame timestamps in seconds.
Related Tutorials & Setup Guides
View all 100+ guidesReolink IP Camera & NVR RTSP Stream Setup & Port Forwarding
Complete guide for Reolink RTSP URL paths, main stream vs sub stream profiles, and local network verification.
hardwareImou Ranger 2 & Bullet 2C Camera RTSP Stream Setup
Learn how to use your Imou safety code as password to stream high-definition video directly to VLC and NVRs.
softwareFrigate NVR RTSP Stream Optimization & Coral TPU Guide
Learn how to configure separate detect and record RTSP streams in Frigate NVR, utilize Google Coral TPU, and enable hardware VAAPI decoding.