# go2rtc

> Ultimate camera streaming application with support for dozens formats and protocols

Source: https://talira.ai/catalog/go2rtc-9zbjs72c
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Infrastructure, Web app
- Categories: [media / video / camera streaming](https://talira.ai/categories/media/video/camera-streaming), [media / video / live streaming / servers](https://talira.ai/categories/media/video/live-streaming/servers)
- Platforms: windows, macos, linux, docker, web[^3]
- Licence: MIT[^4]
- Pricing: Free and open source[^3][^4]
- Free tier: yes[^3][^4]
- Self-hostable: yes[^3]
- API: yes[^5][^6]
- Creator: AlexxIT (Alexey Khit)

go2rtc is a small, zero-dependency camera streaming app written in Go that takes video and audio from IP cameras and other sources and serves it again with the lowest possible latency in whatever format a client needs: WebRTC, MSE/MP4, HLS, MJPEG, RTSP, RTMP, HomeKit, ONVIF and more. Besides RTSP, RTMP, ONVIF, WebRTC and HTTP streams, it reads cameras through their own protocols (TP-Link Tapo and Kasa, Xiaomi, Wyze, Tuya, Ring, Nest, DoorBird, Hikvision ISAPI, GoPro, Roborock), Linux video and audio devices, and anything [FFmpeg](https://talira.ai/catalog/ffmpeg-66tj4hkq.md) or a script can produce. It negotiates codecs between all of a stream's sources and each browser, supports two-way audio to camera speakers, publishes streams to services such as YouTube and [Telegram](https://talira.ai/catalog/telegram-yb0f3wse.md), and only transcodes, through FFmpeg with hardware acceleration, when a client needs it. It has a web UI with a config editor and connection stats, an HTTP and WebSocket API, and runs as a binary, a [Docker](https://talira.ai/catalog/docker-engine-9442r3nw.md) image or a [Home Assistant](https://talira.ai/catalog/home-assistant-qsc7fbmt.md) add-on; Home Assistant (2024.11 and later) and [Frigate](https://talira.ai/catalog/frigate-2121hyxp.md) (0.12 and later) build on it. It is MIT licensed and made by AlexxIT.

## Links

- Website: https://go2rtc.org/
- GitHub: https://github.com/AlexxIT/go2rtc
- Docs: https://go2rtc.org/

## Ways to install

### On your own server

- [Unraid Community Applications](https://talira.ai/catalog/unraid-community-applications-9jw5an1a.md): <https://ca.unraid.net/apps/go2rtc-1tfnm200v6egoc>[^1]
- [Proxmox VE Helper-Scripts](https://talira.ai/catalog/proxmox-ve-helper-scripts-3h36wtyj.md): <https://community-scripts.org/scripts/go2rtc>[^2]

## Problems it solves

- my security cameras lag by 10 seconds in Home Assistant and I want a near-instant live view
- my cheap camera allows only one RTSP connection but my NVR, Home Assistant and phone all need the stream
- get a Tapo, Xiaomi or Wyze camera's video into my NVR when it doesn't offer a normal RTSP stream
- add my IP cameras to Apple Home through HomeKit even though they don't support it
- talk through my doorbell or camera speaker from a browser
- watch H.265 camera footage in Chrome or Safari without transcoding it first
- a self-hosted low-latency WebRTC camera viewer that doesn't need a vendor cloud account
- get a JPEG snapshot URL from a camera stream for my notifications
- my camera's G.711 audio won't play in the browser
- stream my Ring or Nest cameras into other software on my own network
- share a USB webcam on a Raspberry Pi with the rest of my network as an RTSP stream
- make a camera that has no ONVIF show up as an ONVIF camera for my recorder
- publish my camera's live stream to YouTube or a Telegram channel
- play an announcement or an alarm sound through my camera's speaker
- watch my home cameras on my phone outside the house with WebRTC
- a lightweight camera restreaming proxy I can install as a Home Assistant add-on
- stream a GoPro over USB or Wi-Fi to my computer as a normal video stream
- transcode a camera stream with hardware acceleration only when a viewer needs a different codec
- combine a camera's video with audio from another source into one stream

## Features

- inputs: RTSP, RTMP, ONVIF, WebRTC (including WHEP), MJPEG, HTTP files (FLV, H264, HEVC, HLS, MPEG-TS, ADTS, WAV)
- camera protocols: TP-Link Tapo, Kasa and Vigi, Xiaomi, Wyze, Tuya, Ring, Nest, DoorBird, Hikvision ISAPI, DVR-IP, GoPro, Roborock
- WebRTC camera sources: Creality printers, Amazon Kinesis, OpenIPC, SwitchBot
- Linux devices through ALSA and V4L2, and FFmpeg, exec, echo and expr sources
- outputs: WebRTC, MSE/MP4, HLS, MJPEG, JPEG snapshots, RTSP, RTMP, FLV, MPEG-TS, HomeKit, ONVIF, WebTorrent
- streaming ingest over RTSP, RTMP, FLV, MJPEG, MPEG-TS and WebRTC
- multi-source two-way codec negotiation that picks codecs each browser supports
- codec filters in stream links (for example MP4-compatible codecs for recording in Home Assistant or Frigate)
- two-way audio to camera speakers, and playing files or live audio on cameras
- on-the-fly transcoding through FFmpeg with hardware acceleration, only when needed
- automatic repackaging of PCMA, PCMU and PCM audio to FLAC for MSE, MP4 and HLS
- publishing streams to YouTube, Telegram and other services over RTMP/RTMPS
- preloading streams at startup for cameras that are slow to start
- web UI with a config editor and stats for every connection
- HTTP API described in OpenAPI, and a WebSocket API
- basic auth, TLS, allowed module and API path lists, and exec allow lists
- binaries for Windows, macOS, Linux (including ARM and MIPS) and FreeBSD, and multi-arch Docker images with FFmpeg
- Home Assistant add-on, and use from Home Assistant's WebRTC Camera custom component

## Limitations

- No built-in video transcoding: go2rtc hands codec conversion to FFmpeg, apart from a few automatic audio conversions[^3]

## Capabilities

- Has an API: plan not known

## Trust

Overall: 0.36 out of 1.
Signals: backing 0.40, extensibility 0.20.

- created by AlexxIT (Alexey Khit)
- used by Home Assistant, Frigate

Warnings:

- GitHub activity not fetched yet

## Related

- Works with [Home Assistant](https://talira.ai/catalog/home-assistant-qsc7fbmt.md)

## Alternatives

- [Scrypted](https://talira.ai/catalog/scrypted-mkjj14bj.md): High performance home video integration platform and NVR with smart detections
- [MediaMTX](https://talira.ai/catalog/mediamtx-9ygbr0gr.md): Ready-to-use, open source, live media router
- [Strix](https://talira.ai/catalog/strix-3aa08z56.md): Find an IP camera's stream URLs and generate a Frigate config

## Sources

[^1]: https://ca.unraid.net/api/apps/go2rtc-1tfnm200v6egoc (checked 20 Nov 2026)
[^2]: https://github.com/community-scripts/ProxmoxVE/blob/main/ct/go2rtc.sh (checked 21 Nov 2026)
[^3]: https://github.com/AlexxIT/go2rtc/blob/master/README.md (checked 20 Nov 2026)
[^4]: https://github.com/AlexxIT/go2rtc/blob/master/LICENSE (checked 20 Nov 2026)
[^5]: https://github.com/AlexxIT/go2rtc/blob/master/internal/api/README.md (checked 20 Nov 2026)
[^6]: https://go2rtc.org/api/ (checked 20 Nov 2026)
