WebSocket Transport
CommunityReal-time WebSocket transport for voice pipelines
AuthorNackalalalong
Version1.0.0
Installs0
System Documentation
What problem does it solve?
The WebSocket Transport solves the challenge of real-time, bidirectional communication between browser/mobile clients and the voice pipeline by streaming PCM audio frames and coordinating session control via a WebSocket-based protocol.
Core Features & Use Cases
- Real-time audio streaming: binary PCM frames are converted to AudioFrame and delivered to the core pipeline with proper timing.
- Protocol translation: JSON messages for session_start and session_end, and server events mapped to client-friendly signals.
- Safe, transport-agnostic core: ensures no transport types leak into core and envelopes session lifecycle management.
Quick Start
Start the WebSocket server at /session and route WS upgrades to handle_connection to begin a voice session.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: WebSocket Transport Download link: https://github.com/Nackalalalong/voicebot-rs/archive/main.zip#websocket-transport Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.