go2rtc is a compact streamer that ingests cameras and files via RTSP, ONVIF, WebRTC, and vendor APIs, then republishes as RTSP, HLS, WebRTC, MP4, and more on Windows, macOS, Linux, and FreeBSD
Overview
go2rtc is a camera-focused streaming application that bridges diverse capture sources to consumer and integrator-friendly outputs. It advertises support for many input and output protocols with emphasis on low latency where the protocol allows, and optional FFmpeg transcoding when codecs must change.
Inputs range from standard RTSP, RTMP, ONVIF, and WebRTC to integrations for Home Assistant configs, HomeKit, Tapo, Wyze, Ring, Roborock, and numerous other consumer devices. Outputs include RTSP, HLS, MJPEG, MP4, WebRTC, HomeKit, and publishing to external RTMP destinations such as YouTube or Telegram.
The app ships as prebuilt binaries per OS and architecture, Docker images with FFmpeg bundled, a Home Assistant add-on, and a separate integration component that can download or attach to an existing instance. Configuration is YAML-based with a web UI editor, default API, RTSP, and WebRTC ports, and per-stream definitions mixing multiple sources.
Advanced behavior includes two-way audio on supported cameras via browser WebRTC, mixing tracks from multiple sources, codec negotiation across browser and camera capabilities, ingest modes where external processes push FLV or RTMP, connection statistics in the UI, and FFmpeg-assisted transcoding rather than embedding a full transcoder core.
Key features
- Many camera and NVR input protocols
- RTSP, HLS, WebRTC, and MP4 outputs
- Web UI and HTTP or WebSocket API
- Two-way audio on supported devices
- Codec negotiation and simple transcoding
- RTMP publish to streaming services
- Docker and Home Assistant deployment paths
- Per-connection streaming statistics
Use cases
- Unified home camera streaming for NVR software
- WebRTC viewing inside Home Assistant
- Bridging cheap IP cameras to standard RTSP
- Low-latency browser viewing of RTSP feeds
- Republishing camera streams to RTMP platforms