Introducing Real-Time Audio Streaming

Jul 12, 2023
Introducing Real-Time Audio Streaming

Plivo now offers real-time streaming of raw audio from active calls. By integrating audio streaming with AI-based tools, businesses can provide advanced voice-based services, gain valuable insights, and improve customer interactions.

How does streaming work?

With audio streaming, businesses transmit the raw media of a live call in real time to their applications or third-party systems.

This illustration shows how a call center might use audio streaming.

Plivo lets you stream audio by using XML instructions or APIs.

XML instructions

With the <Stream> XML element, you can stream raw media from a live phone call over a WebSocket connection. To begin streaming, return XML like this during the call.

<Response>
<Stream>wss://<yourstream>.ngrok.io/audiostream</Stream>
</Response>

See our XML reference documentation for complete details.

API integration

Alternatively, you can use Plivo APIs to initiate and manage audio streams.

curl -i –user AUTH_ID:AUTH_TOKEN \\
      -H "Content-Type: application/json" \\
      -d '{"service_url": "wss://.ngrok.io/audiostream"}' \\
      https://api.plivo.com/v1/Account/{auth_id}/Call/{call_uuid}/Stream/

See our audio streaming API reference documentation for complete details.

Pricing

Audio streaming is priced at $0.003 per minute per stream, over and above the expected charges for voice minutes associated with a call. Pricing is subject to change — check our pricing page for the most up-to-date information.

Audio streaming use cases

Businesses can use audio streaming in multiple ways, especially in tandem with AI and machine learning-based engines, to enhance value and improve customer experience.

Call centers can leverage Plivo’s audio streaming to extract insights from raw audio data, perform sentiment analysis, implement speech recognition, and analyze voice-related data, enhancing operational effectiveness.  

You can integrate Plivo’s audio streaming with AI/ML-based tools to provide real-time transcription services.

Similarly, you can integrate audio streams with third-party tools to facilitate live translation of audio content, enabling effective communication across different languages during conferences and meetings.

Try real-time audio streaming. If you don’t already have a Plivo account, sign up today for free.

The State of Marketing in 2024

HubSpot's Annual Inbound Marketing Trends Report
footer bg

Subscribe to Our Newsletter

Get monthly product and feature updates, the latest industry news, and more!

Thank you icon
Thank you!
Thank you for subscribing
Oops! Something went wrong while submitting the form.