Skip to Content
ANTICEILDOCS
Anticeil Chat

WebRTC Voice & Video Rooms

Peer-to-peer real-time mesh audio and video infrastructure.

Anticeil Chat implements high-fidelity, low-latency audio and video calling via WebRTC.

Architecture & Signaling

  1. Signaling Server: When a user clicks a Voice Channel, the client emits a join-voice-room event over WebSockets to the Node.js signaling gateway.
  2. ICE Candidate Exchange: Peers exchange STUN/TURN ICE candidates and SDP offers/answers.
  3. P2P Mesh Connection: Audio streams directly between participants using the Opus codec at 48kHz stereo, minimizing server CPU load and achieving sub-30ms voice latency.

Audio Controls

  • Voice Activity Detection (VAD): Highlights speaking users with an active green ring.
  • Mute & Deafen: Hardware mic input muting and global audio suppression.
  • Screen Sharing: 1080p 60fps desktop screen capture with application window filtering.

On this page