Skip to content

Twilio Media Streams

das-Peak Streaming Media Streams Channel is an Audio Channel that implements Twilio Media Streams API to receive real time audio streams. Twilio Media Streams is built on websockets and it includes a set of instructrions that allows to add real time audio stream from a phone call within a Twilio environment.

Users can implement their own client to make calls to das-Peak Streaming Media Streams Channel by following Twilio Media Streams documentation. However, if using a Twilio environment, it's advisable to use any of Twilio's available client libraries.

Some considerations must be taken into account when using das-Peak Streaming Media Streams Channel:

  • When creating a Session via Signalling Channel, users must specify audio_protocol parameter as twilio. das-Peak Streaming then will create all required resources to receive audio stream from client.
  • Also, when creating Session, call_id parameter must be equal to Twilio's callSid parameter. This parameter allows das-Peak Streaming to link audio stream with its corresponding Session.