twilio / media-streams

Quick start guides for configuring and consuming Twilio Media Streams
105 stars 80 forks source link

Getting audio file from media streams #45

Open SalahEddineBC opened 4 years ago

SalahEddineBC commented 4 years ago

Hello, I am trying to get audio file from this media streams but i dint find any guide to do that, can someone guide me to do that ?

jdejong commented 4 years ago

@SalahEddineBC You do not just receive an assembled audio file. You get either a SipRec (learn more about the protocol here -- https://www.miarec.com/solutions/siprec-call-recording ) or you get an audio fragment delivered by a websocket connection. You can assemble those fragments into an audio file, or process one fragment at a time. But if you want to just get an audio file of the call then the recording API is probably a better fit -- https://www.twilio.com/docs/voice/api/recording . Hope that helps.

derrickrodrigues commented 4 years ago

Hi Team,

This service is for connecting Twilio with Dialogflow V2. Is there a updated service which does the same job with Dialogflow V3 ?