How to move or download the twilio recording to amazon s3 -


how download recording file using twilio sdk or how move recording file directly twilio amazon s3 .

twilio evangelist here.

recordings exposed via direct url, in order download them you'll need use http client in programming language of choice make request recording url , save data returned.

there 2 ways find out url:

  1. if specifya url in action parameter of <record> verb twilio make http request url once recording complete , include parameter url recording has been stored at.

  2. make get request recordings resource of twilio rest api. return list of recording resources, each of has uri parameter included in it. add .mp3 or .wav uri url needed request recorded audio.

once you've downloaded recording, can use rest api have twilio delete our servers. issue http delete request recordings uri.

hope helps.


Comments

  1. Thank You For sharing your blog. Twilio Video SDK
    Learn how developers can use this innovative SDK to build real-time, collaborative apps for cross-platform viewing and interaction with real-time content. Our SDK is compatible with both iOS and Android devices.

    ReplyDelete

Post a Comment

Popular posts from this blog

.htaccess - First slash is removed after domain when entering a webpage in the browser -

Socket.connect doesn't throw exception in Android -

SPSS keyboard combination alters encoding -