Overview of mod_audio_stream
mainmod_audio_stream is a production-grade WebSocket audio streaming module for FreeSWITCH. It enables real-time audio streaming between FreeSWITCH and external systems using an RFC-6455 compliant WebSocket client (libwsc).
Key Capabilities:
- Uni-directional streaming: Suitable for ASR, transcription, and analytics.
- Bi-directional streaming (v1.1.0+): Provides full-duplex audio (caller to WebSocket and vice-versa) with automatic resampling and dynamic playback control.
- Audio Formats: Supports base64-encoded and raw binary audio. Returned audio can be in PCMU, PCMA, L16/RAW, or Opus formats.
- Unified Recording: Supports
uuid_recordto capture both caller audio and returned WebSocket audio in a single recording.
Licensing Note:
- The pre-built release is free for use (including commercial) but is limited to 10 concurrent streaming channels.
- For unlimited channels or source-code licensing, contact
amsoftswitch@gmail.com.