Go-Live Documentation
Lightweight WebRTC SFU Server - WHIP/WHEP streaming, recording, and observability with Go and Pion WebRTC
Go-Live
轻量级 · 高性能 · 生产就绪
Lightweight · High Performance · Production Ready
Go-Live 是基于 Go 和 Pion WebRTC 构建的轻量级 WebRTC SFU(选择性转发单元)服务器。专为实时音视频流分发而设计,支持 WHIP/WHEP 协议、房间广播、录制存储和完整的可观测性体系。
English
Lightweight WebRTC SFU Server Documentation
- Quick Start Guide
- Deployment Instructions
- API Reference
- Architecture Design
中文
轻量级 WebRTC SFU 服务器文档
- 快速开始指南
- 部署说明
- API 参考
- 架构设计
🚀 30秒快速开始 / Quick Start in 30s
1
2
3
4
5
6
7
# 克隆仓库 / Clone repository
git clone https://github.com/LessUp/go-live.git && cd go-live
# 启动服务 / Start server
go run ./cmd/server
# 访问 http://localhost:8080 即可开始推流
✨ 核心能力 / Core Capabilities
WHIP/WHEP Support
Full support for WHIP publishing and WHEP playback protocols
Room-based Broadcast
One publisher, multiple subscribers per room with efficient fanout
Recording & Upload
Built-in recording with automatic S3/MinIO upload support
Observability
Prometheus metrics and OpenTelemetry tracing integration
Authentication
Token-based and JWT authentication with per-room access control
High Performance
Built with Go for low-latency, high-throughput media distribution
📊 性能指标 / Performance Metrics
| 指标 Metric | 数值 Value |
|---|---|
| 延迟 Latency | < 100ms (同区域) |
| 并发订阅者 | 1000+ / Room |
| 内存占用 | < 50MB (空载) |
| CPU 效率 | 单核支持 500+ 并发 |
🔗 快速链接 / Quick Links
| 资源 Resource | 链接 Link |
|---|---|
| GitHub 仓库 | github.com/LessUp/go-live |
| 版本发布 Releases | GitHub Releases |
| 问题反馈 Issues | GitHub Issues |
| 更新日志 Changelog | CHANGELOG.md |