WebRTC Signaling Hub
🤖 Agent Guide 📄 OpenAPI Spec
Operational

WebRTC Signaling Server

A premium, high-performance, in-memory WebRTC coordination server built using Cloudflare Workers and Durable Objects.

Overview

This server provides the immediate coordination required to link WebRTC peers (such as web clients, local servers, or autonomous AI agents) inside virtual "Rooms". Because standard WebRTC requires a third-party channel to exchange session descriptions (SDP offers and answers) and ICE candidates before setting up peer-to-peer data channels, this worker provides:

  • Zero-latency coordination: All room signaling logic executes inside a persistent, stateful in-memory Durable Object.
  • Server-Sent Events (SSE): A lightweight connection channel from the server to clients for roster status updates and incoming signals.
  • Private Session Verification: Each peer receives a private UUID token upon connection. All signals and leave operations must sign with this token to guarantee authenticity.
  • Reconnection Support: Allows disconnected clients to reuse their Peer UUID and reclaim their channel if they reconnect within 90 seconds.