Serializer for Plivo Audio Streaming WebSocket protocol
PlivoFrameSerializer
enables integration with Plivo’s Audio Streaming WebSocket protocol, allowing your Pipecat application to handle phone calls via Plivo’s voice services.
PlivoFrameSerializer
does not require any additional dependencies beyond the core Pipecat library.
auto_hang_up
is enabled, the serializer will automatically hang up the Plivo call when an EndFrame
or CancelFrame
is processed, using Plivo’s REST API:
bidirectional="true"
attribute is required for two-way audio
communication, and keepCallAlive="true"
prevents the call from being
disconnected after XML execution.streamId
instead of streamSid
callId
instead of callSid
<Stream>
element directly instead of <Connect><Stream>