Announcement

Free to view yesterday and today
Customer Service: cat_manager

go2rtc - Ultimate Camera Streaming Gateway

go2rtc is an open-source application designed to simplify and unify access to various camera streams using a wide range of protocols. It acts as a versatile media server for your surveillance and smart home needs.

Go
Added on 2025年5月26日
View on GitHub
go2rtc - Ultimate Camera Streaming Gateway preview
8,946
Stars
661
Forks
Go
Language

Project Introduction

Summary

go2rtc provides a single, powerful solution to handle input from numerous camera protocols (RTSP, RTMP, HTTP-FLV, MJPEG) and serve streams using modern and widely compatible methods like WebRTC, MSE, HLS, and MP4. It integrates seamlessly with FFmpeg for complex media processing and supports HomeKit.

Problem Solved

Handling disparate camera streaming protocols and integrating them into modern applications or smart home systems is often complex. go2rtc eliminates this complexity by providing a unified gateway that translates and serves streams across different technologies, reducing compatibility issues and development effort.

Core Features

Multi-protocol Input

Supports receiving streams from RTSP, RTMP, HTTP-FLV, MJPEG, and more.

Versatile Output Options

Provides streams in WebRTC (low latency), MSE, HLS, and MP4 formats for various client applications.

FFmpeg Integration

Leverages FFmpeg for decoding, encoding, and complex stream manipulation.

HomeKit Support

Enables integration with Apple HomeKit ecosystems.

Snapshot Generation

Generate still images from video streams.

Web Interface & API

Provides a simple web interface for management and an API for programmatic control.

Tech Stack

Go
FFmpeg
WebRTC
RTSP
RTMP
HLS
HTTP-FLV

Use Cases

go2rtc is ideal for situations requiring flexible and unified access to video streams from diverse sources:

Integrating Legacy IP Cameras

Details

Connect older cameras only supporting RTSP or MJPEG and serve their streams via modern WebRTC or HLS to web browsers or mobile apps.

User Value

Extend the lifespan of existing surveillance hardware and simplify integration with new systems.

Building a Custom Surveillance System

Details

Use go2rtc as the central media gateway to receive streams from all your cameras and distribute them to recording servers, analytics engines, and monitoring clients.

User Value

Provides a flexible and scalable foundation for building a tailored video surveillance solution.

Smart Home Camera Integration

Details

Easily connect various brand IP cameras to popular smart home platforms (like Home Assistant via WebRTC) or integrate them into HomeKit.

User Value

Unified access and low-latency streaming for cameras within a smart home environment.

Developing Web/Mobile Streaming Apps

Details

Developers can use go2rtc to handle backend camera connectivity and serve streams via WebRTC or HLS, simplifying client-side implementation.

User Value

Reduces complexity in media stream handling for application developers.

Recommended Projects

You might be interested in these projects

termuxtermux-app

Run Linux command-line tools and develop directly on your Android device with Termux, a powerful terminal emulator and environment.

Java
427644676
View Details

cloudnative-pgcloudnative-pg

CloudNativePG is a comprehensive platform designed to seamlessly manage PostgreSQL databases within Kubernetes environments, covering the entire operational lifecycle from initial deployment to ongoing maintenance. Leverage Kubernetes-native APIs to provision, scale, and protect your PostgreSQL clusters.

Go
6200438
View Details

rszerolog

A high-performance JSON logger for Go, designed to achieve zero memory allocation during logging for maximum speed and efficiency.

Go
11368591
View Details