Audio Stream beta

Stream raw audio from active calls with Plivo’s audio streaming feature. Audio Stream sends in real time to your business applications and third-party platforms over WebSockets.

This illustration shows how a call center can use audio streaming to capture details about the interaction and improve the customer experience.

Websockets

Plivo lets you initiate and manage the streams via API and XML instructions.

Audio stream logs on Plivo Console

Plivo displays details of audio streams linked to a call on the respective Call Detail Record (CDR) page.

In your audio stream log, you’ll find details including:

  • Stream uuid: A unique identifier for the audio stream associated with the call log.
  • Stream start time: When the audio stream started, displayed in UTC.
  • Stream end time: When the audio stream ended, displayed in UTC.
  • Duration: The duration of the audio stream expressed in seconds.
  • Rounded bill duration: The total amount billed based on Plivo’s rounding system and the billing interval, presented in seconds.
  • Billed amount: The total charges incurred for the corresponding stream uuid.
  • Stream termination reason: Specifies the cause behind the termination of the stream. Potential termination reasons include:
    • API request: The stream is disconnected through an API request.
    • Call hangup: The call ended and the stream was disconnected.
    • Connection error: A connection issue caused the stream to end.
    • Stream timeout: The stream ended when the duration specified in the stream_timeout parameter was reached.
  • Debug logs: A hyperlink leading customers to detailed audio streaming debug logs. These logs give you access to a list of events that occurred during audio streaming, aiding in debugging any stream-related issues.

Debuglogs