@cloudflare/voice-plivo@0.1.0

cloudflare/agents@cloudflare/voice-plivo@0.1.0Aug 18, 2026by github-actions[bot]

AI Summary

Introduces the Plivo audio streaming adapter for the Cloudflare Agents voice pipeline, bridging bidirectional audio streaming via WebSocket protocol.

Key Highlights

  • New `PlivoAdapter` bridging Plivo's WebSocket protocol to `VoiceAgent`
  • Audio resampling from mulaw 8kHz to 16kHz PCM
  • Barge-in support via Plivo's `clearAudio` event
  • Helper function `setupPlivoApplication()` for REST API configuration

New Features

  • PlivoAdapter implementation
  • Audio resampling logic
  • Barge-in support
  • REST API helper

Full Release Notes

### Minor Changes

-   [#2048](https://github.com/cloudflare/agents/pull/2048) [`3172a23`](https://github.com/cloudflare/agents/commit/3172a232d2c663db6bff126c7ca1ccddb5beb45d) Thanks [@cjol](https://github.com/cjol)! - Add Plivo audio streaming adapter for the Cloudflare Agents voice pipeline.

    `PlivoAdapter` bridges Plivo's bidirectional audio streaming WebSocket protocol to `VoiceAgent`, structured as a sibling to the Twilio provider. Audio is mulaw 8kHz on the Plivo side, decoded and resampled to 16kHz PCM for the agent. Includes barge-in support via Plivo's `clearAudio` event and a `setupPlivoApplication()` helper that configures the Plivo application and phone number through the REST API.