# AlexxIT/go2rtc

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/alexxit-go2rtc).**

12,358 stars · 954 forks · Go · mit

## Links

- GitHub: https://github.com/AlexxIT/go2rtc
- Homepage: https://go2rtc.org
- awesome-repositories: https://awesome-repositories.com/repository/alexxit-go2rtc.md

## Topics

`ffmpeg` `go` `golang` `hassio` `hls` `home-assistant` `homekit` `media-server` `mjpeg` `mp4` `onvif` `rtmp` `rtsp` `rtsp-server` `streaming` `tapo` `webcam-streaming` `webrtc` `wyze` `xiaomi`

## Description

go2rtc is a media streaming server that functions as a protocol-agnostic gateway for video and audio feeds. It ingests media from diverse sources and redistributes them across multiple streaming standards, enabling compatibility between proprietary camera hardware and web-based playback clients. The system utilizes a centralized configuration schema to manage stream routing and lifecycle orchestration based on client demand.

The platform distinguishes itself through its focus on low-latency delivery, utilizing peer-to-peer connections to facilitate sub-second playback directly within web browsers. It provides a bidirectional audio bridge, allowing for two-way voice interaction between web interfaces and connected devices. To ensure consistent playback across varying network conditions and client requirements, the engine performs real-time format conversion and codec adaptation.

The service includes comprehensive tools for monitoring active connections and network traffic statistics to verify stream health. Security is managed through granular control over network interfaces and communication ports, alongside restricted access paths for administrative functions. The software is distributed as a standalone binary, with configuration managed through a declarative mapping system.

## Tags

### Graphics & Multimedia

- [Media Streaming](https://awesome-repositories.com/f/graphics-multimedia/streaming-distribution/streaming-broadcasting/media-streaming.md) — Functions as a protocol-agnostic gateway that ingests and redistributes video and audio feeds across multiple streaming standards for real-time playback.
- [Intercom Audio Bridges](https://awesome-repositories.com/f/graphics-multimedia/media-processing-analysis/media-manipulation/media-processing/streaming-network-frameworks/audio-over-ip/intercom-audio-bridges.md) — Provides a communication service for two-way audio streams between web browsers and connected devices.
- [Transcoders](https://awesome-repositories.com/f/graphics-multimedia/streaming-distribution/streaming-broadcasting/media-streaming/transcoders.md) — Performs real-time media transcoding to ensure consistent playback quality across diverse network conditions. ([source](https://go2rtc.org))
- [Media Transcoders](https://awesome-repositories.com/f/graphics-multimedia/video-production/video-editing/media-transcoders.md) — Performs real-time format conversion and codec adaptation to ensure playback compatibility across diverse streaming clients and hardware devices.
- [Audio Streaming Engines](https://awesome-repositories.com/f/graphics-multimedia/audio-music/audio-streaming-engines.md) — Enables low-latency two-way audio communication between web browsers and connected camera devices. ([source](https://go2rtc.org))
- [Audio and Video Processors](https://awesome-repositories.com/f/graphics-multimedia/media-production-suites/media-management-production/media-management-systems/audio-and-video-processors.md) — Ingests and redistributes media from diverse sources to ensure playback compatibility across different standards. ([source](https://go2rtc.org))

### Networking & Communication

- [Low-Latency Streaming](https://awesome-repositories.com/f/networking-communication/low-latency-streaming.md) — Facilitates sub-second playback using peer-to-peer WebRTC connections directly within web browsers.
- [Protocol Translators](https://awesome-repositories.com/f/networking-communication/cross-chain-messaging-protocols/protocol-translators.md) — Translates between various streaming protocols to ensure compatibility between proprietary hardware and software systems. ([source](https://go2rtc.org))
- [Protocol-Agnostic Transport Layers](https://awesome-repositories.com/f/networking-communication/protocol-agnostic-transport-layers.md) — Routes raw media packets between diverse protocols using a modular internal bus without full re-encoding.
- [Bidirectional Audio Systems](https://awesome-repositories.com/f/networking-communication/voice-chat-facilitators/bidirectional-audio-systems.md) — Facilitates two-way voice interaction between web interfaces and connected camera devices for remote monitoring.

### Web Development

- [Real-Time Media Servers](https://awesome-repositories.com/f/web-development/webrtc-configurations/real-time-media-servers.md) — Facilitates low-latency media delivery by utilizing peer-to-peer WebRTC connections to stream video and audio directly to web browsers.

### Mobile Development

- [Protocol Translation Gateways](https://awesome-repositories.com/f/mobile-development/mobile-capabilities/camera-integration/ip/protocol-translation-gateways.md) — Converts proprietary camera streams into standard formats to ensure compatibility across diverse systems.

### Content Management & Publishing

- [Live Streaming Platforms](https://awesome-repositories.com/f/content-management-publishing/media-management/live-streaming-platforms.md) — Distributes local media feeds to external platforms and services using standard publishing protocols.

### DevOps & Infrastructure

- [Event-Driven Orchestration](https://awesome-repositories.com/f/devops-infrastructure/event-driven-orchestration.md) — Manages media connection lifecycles through an internal state machine triggered by client demand.
- [Declarative Configuration Schemas](https://awesome-repositories.com/f/devops-infrastructure/configuration-management/declarative-configuration-frameworks/declarative-configuration-schemas.md) — Uses a centralized declarative configuration schema to manage stream routing and lifecycle orchestration.

### Security & Cryptography

- [Network Access Control](https://awesome-repositories.com/f/security-cryptography/network-access-control.md) — Controls network exposure by binding media services to specific interfaces and ports. ([source](https://go2rtc.org))
- [Administrative Access Controls](https://awesome-repositories.com/f/security-cryptography/api-access-security/administrative-access-controls.md) — Restricts administrative control over sensitive system functions to prevent unauthorized configuration changes. ([source](https://go2rtc.org))
- [Network Isolation](https://awesome-repositories.com/f/security-cryptography/network-isolation.md) — Enforces strict boundaries between internal streams and external access points via socket-level network isolation.

### System Administration & Monitoring

- [Connection Health Monitors](https://awesome-repositories.com/f/system-administration-monitoring/health-monitoring/connection-health-monitors.md) — Provides tools for monitoring active connection data and network traffic statistics to verify stream health. ([source](https://go2rtc.org))

### Business & Productivity Software

- [Video Publishing Integrations](https://awesome-repositories.com/f/business-productivity-software/content-publishing/video-publishing-integrations.md) — Publishes local video and audio feeds to external streaming platforms using standard protocols. ([source](https://go2rtc.org))
