Introduction
Overview of the Gryt WebRTC voice chat platform
Gryt is a WebRTC-based voice chat platform built with TypeScript, React, Go, and Keycloak. It provides low-latency voice communication with noise suppression, echo cancellation, and a modern UI.
Components
| Component | Tech | Role |
|---|---|---|
| Client | React + TypeScript (Electron) | UI, audio processing, WebRTC |
| Server | Node.js + TypeScript | Signaling, rooms, user state |
| SFU | Go + Pion WebRTC | Media forwarding |
| Auth | Keycloak (hosted) | OIDC authentication |
How it works
- Users authenticate via Keycloak (OIDC + PKCE)
- The client connects to a signaling server over WebSocket
- When joining a voice channel, the server coordinates a WebRTC session through the SFU
- The SFU selectively forwards audio tracks between participants