Go

go2rtc on Ubuntu 24.04 LTS

Azure Streaming & Messaging

go2rtc, an ultra low latency camera streaming gateway that restreams RTSP, ONVIF, RTMP and USB cameras to your browser over WebRTC, MSE, HLS and MJPEG from a single Go binary.

Base
Hardened build
minimal ports, security patches applied at build time
Access
Unique credentials
generated on first boot, readable only by root
Verified
Boots working
services pass a health gate before release
Support
24/7, 365 days
by email and live chat, 24 hour response SLA

Overview

go2rtc is an open source, ultra low latency camera streaming application and restreaming gateway. It connects to cameras and video sources over the protocols they speak, RTSP, ONVIF, RTMP, HTTP and USB, and republishes each stream over whatever the viewer needs, including WebRTC for sub second latency in a browser, Media Source Extensions, HLS, MJPEG and RTSP. It is a single self contained Go binary with no database, driven by one readable config file, with a web dashboard to add cameras and watch live streams and a full REST API for automation and integration with tools such as Home Assistant and Frigate.

Why the cloudimg image

cloudimg delivers go2rtc hardened and fully patched, served over TLS behind an nginx reverse proxy, so a working streaming gateway answers the moment the instance boots. Upstream go2rtc ships with its web interface and API completely open, so cloudimg binds go2rtc to loopback and enforces HTTP Basic authentication on every request. There is no default or shared login: a unique username, password and self signed certificate are generated on each machine's first boot, written once to a root only file and never baked into the image. A self contained demonstration stream shows the pipeline working on first sign in, and the paired deploy guide shows how to add your own cameras, all backed by 24/7 cloudimg support.

Common uses

  • Restream RTSP and ONVIF cameras to a browser over ultra low latency WebRTC
  • Give an application a single gateway that speaks every camera and player protocol
  • Serve low latency camera streams to Home Assistant, Frigate and custom dashboards

See it running

Real screenshots taken while testing this image against its deployment guide.

go2rtc on Ubuntu 24.04 LTS screenshot 1 go2rtc on Ubuntu 24.04 LTS screenshot 2 go2rtc on Ubuntu 24.04 LTS screenshot 3 go2rtc on Ubuntu 24.04 LTS screenshot 4