Skip to the content.

📖 Documentation

Complete technical documentation for WebRTC platform
WebRTC 项目完整技术文档


Quick Navigation

🚀

Getting Started

Prerequisites, local development, Docker deployment

📡

Signaling Protocol

WebSocket message formats, room management, heartbeat mechanism

🌐

Deployment Guide

HTTPS/WSS, TURN server, performance optimization

🔍

Troubleshooting

Connection issues, media problems, deployment solutions

⚙️

API Reference

Environment variables, ports, ICE server configuration


Documentation Structure

This project follows Spec-Driven Development (SDD). All implementation is driven by specifications.

User & Developer Guides

Document EN ZH Description
Guide English 中文 Architecture, implementation details, code walkthrough
Deployment English 中文 Docker, HTTPS/TURN setup, production deployment
Signaling English 中文 WebSocket protocol and message specifications
API Reference English 中文 Configuration options, environment variables, endpoints
Troubleshooting English 中文 Common issues and solutions

Specification Documents (Single Source of Truth)

The /specs directory is the authoritative source. Specs drive all development.

Spec Path Description
Product Spec /specs/product/ Feature definitions and acceptance criteria
RFC Documents /specs/rfc/ Technical design and architecture decisions
API Spec /specs/api/ OpenAPI 3.0 signaling specification
Database Spec /specs/db/ In-memory data structure definitions
Testing Spec /specs/testing/ BDD test specifications and acceptance criteria

Learning Paths

🔰 Beginners

If you’re new to WebRTC, we recommend reading in this order:

  1. Getting Started — Get the project running
  2. Signaling Protocol Overview — Understand how browsers establish connections
  3. Frontend State Machine — Understand client connection state management

🛠️ Developers

If you want to extend or modify the project:

  1. Architecture Overview — Overall system architecture
  2. RFC-0001: Signaling Server — Server design decisions
  3. RFC-0002: Frontend Architecture — Client module design
  4. Product Spec — Feature definitions and acceptance criteria

🏭 DevOps Engineers

If you need to deploy to production:

  1. Deployment Guide — Docker deployment and configuration
  2. API Configuration Reference — All environment variables
  3. Troubleshooting — Common deployment issues

Resources

Resource Link Description
GitHub Repository LessUp/webrtc Source code, Issues, PRs
Changelog CHANGELOG.md Version history and release notes
Contributing CONTRIBUTING.md Development workflow and guidelines
Roadmap ROADMAP.md Future development plans

WebRTC Learning Resources


💡 Need Help?

Last Updated / 最后更新: 2026-04-22 | Version / 版本: v1.0.0