Session Router
Inbound sources → HZRelay core → outbound sinks, with live log strip.
[ SOURCES ]
HZRELAY
[ SINKS ]
The routing layer between your app and every real-time provider. Voice, tokens, webhooks — normalized to one session model, one SDK.
Real-time integrations share the same three problems: codec mismatches between voice providers, SSE streams that need fan-out to multiple subscribers, and N×M webhook parsers for every provider pair. HZRelay solves all three once — you own the logic, we own the plumbing.
Twilio sends mulaw 8kHz, Deepgram wants PCM 16kHz, ElevenLabs returns PCM. HZRelay transcodes, reconnects, and normalizes across providers automatically.
LLM streams are SSE. Your UI wants WebSocket. Route one source to web, mobile, and logs simultaneously — no re-architecture required.
One inbound event, any number of targets. HZRelay handles signature verification, payload normalization, and fan-out across Stripe, GitHub, Twilio, and more.
Standard APM is blind to real-time streams. HZRelay traces every stage per session — which provider added latency, when, and by how much.
Set SLA thresholds per provider. When the primary exceeds them, HZRelay routes to the backup automatically — no code change, no downtime.
Swap Deepgram for Cartesia or OpenAI for Anthropic in config. The same session model works across all adapters in the registry.
Step 1
Review stream types, adapter registry, and SDK quickstart at hzrelay.mecverse.com.
Step 2
Start with managed routing (Depth 2) or wire HZRelay into your own loop (Depth 1). Switch anytime.
Step 3
Add adapters from the registry. Route voice, tokens, or webhooks through one session without touching codec or reconnect logic.
Session routing, provider observability, and stream event model across voice, token, and webhook workloads.
Inbound sources → HZRelay core → outbound sinks, with live log strip.
[ SOURCES ]
HZRELAY
[ SINKS ]
Per-session, per-stage breakdown — not aggregate averages.
298ms
STT
370ms
LLM
75ms
TTS
Typed events emitted at each pipeline stage — subscribe from any adapter.