Skip to content
Discussion options

You must be logged in to vote

This is a guide for streaming live Twilio calls to Deepgram in Python: https://deepgram.com/learn/deepgram-twilio-streaming

It uses Twilio's streaming API, which will fork Twilio audio to your server, which then processes the audio, sends it to Deepgram via websockets, and gets the live streaming transcription results. Can you share more about what you have tried? My first guess is that, Twilio media messages can't be directly parsed by Deepgram, they are streamed as json text, where the audio payloads are base64-encoded mulaw, so some processing of Twilio's media messages needs to happen before sending the audio to Deepgram (that guide should cover this).

Replies: 1 comment 15 replies

Comment options

You must be logged in to vote
15 replies
@dquang-tran
Comment options

@nikolawhallon
Comment options

@nikolawhallon
Comment options

@dquang-tran
Comment options

@dquang-tran
Comment options

Answer selected by shirgoldbird
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants