nt-backend-wrtc
Rendezvous + WebSocket signaling backend for WebRTC.
nt-backend-wrtc
Note: Currently everything is under heavy development and in a very early alpha stage. APIs are thus unstable and can change without notice.
A simple rendezvous + WebSocket signaling backend for WebRTC, designed for NoisyTransfer-style workflows. It mints short‑lived numeric codes for pairing and relays SDP/ICE between two peers over WebSockets.
Quick links
- GitHub repository: https://github.com/collapsinghierarchy/nt-backend-wrtc
- Related packages
Features
- Rendezvous service: short‑lived numerical 4‑digit codes, single‑use redeem, reclaimed on expiry.
- WebSocket signaling for SDP/ICE exchange between two sides (
A
/B
). - Mailbox frames: lightweight message queue (
hello
,send
,delivered
) in addition tooffer
/answer
/ice
; optionaltelemetry
events. - Rate limiting (per‑IP, fixed window) for HTTP and WS upgrades.
- Observability: Prometheus
/metrics
,/healthz
(liveness),/readyz
(readiness). - TLS: optional, with sensible defaults.
- Janitor: background sweeper that prunes expired codes.