Skip to content

Bi-Directional Streamer with Auto Playback v1.1.0

Latest

Choose a tag to compare

@amigniter amigniter released this 05 Oct 18:29
· 3 commits to main since this release

Bi-Directional Streamer with Auto Playback — v1.1.0

The commercial edition provides a full-duplex audio stream between the FreeSWITCH channel and the WebSocket endpoint.

  • Playback runs independently while forward audio streaming continues.
  • Supports base64 encoded audio and raw binary audio returned from the WebSocket.
  • Supports multiple returned audio formats and automatic resampling when required.
  • Playback can be tracked, paused, resumed, interrupted, and drained dynamically.
  • Returned audio is played through the standard FreeSWITCH media pipeline.
  • Native FreeSWITCH uuid_record can record both caller audio and returned WebSocket audio in a single unified recording.
  • Added Named Pipe Audio Output for exposing return/playback audio as real-time PCM16 through a local FIFO, with optional resampling to 8, 16, 24, 32, or 48 kHz — without interfering with normal caller playback.
  • Improved stream lifecycle and session handling.
  • Improved thread-safe cleanup and protection against concurrent start/stop operations.
  • Improved playback stability during stream shutdown, WebSocket connection failures, and channel teardown.
  • Improved audio pipeline and object lifetime management.
  • Added safeguards for RAW binary streaming. RAW binary messages are intended for small, frame-oriented real-time audio chunks and are limited to 8192 bytes per WebSocket message.
  • Opus is supported as a returned audio format.

v1.1.0 — 05/10/2026

  • Added Mix mode for mixing returned playback audio with bridged call audio.
  • Added bridged-call playback support, allowing returned audio to be injected while the bridge remains active.
  • Added Named Pipe Audio Output for real-time PCM16 access to return/playback audio, with optional output sample-rate conversion.
  • Further improved playback lifecycle, cleanup, and stability.

v1.1.0 — 15/09/2026

  • Major stream lifecycle and cleanup improvements.
  • Improved handling of concurrent start, stop, pause, and channel teardown operations.
  • Improved recovery after WebSocket connection/startup failures.
  • Improved playback integration with the FreeSWITCH media pipeline.
  • Improved RAW binary streaming validation and handling.
  • Improved session and audio pipeline stability under concurrent operations.
  • Updated playback and RAW binary streaming documentation.
  • Added Named Pipe Audio Output for real-time PCM16 access to return/playback audio, with optional output sample-rate conversion.

Demo binaries

Prebuilt DEB(Debian 13) and RPM(Rocky Linux 9) packages are provided for testing.

FreeSWITCH must be installed from the official FreeSWITCH APT repository on Debian 13, or using the OKay repository on Rocky Linux 9, to provide the required runtime libraries.

The demo version is limited to 10 concurrent channels.

For testing correctness, stability, and performance under heavier load, a 30-day time-limited evaluation version of the Commercial Edition with no channel limitation can be provided. Please see README.trial.md.

For usage and playback details, please see README.playback.md.

Commercial licensing

For commercial licensing and inquiries, please contact us.

Note: The automatically generated GitHub “Source code” archives correspond to the public repository and are not the source code of the commercial edition.