paint-brush
Twilio: How to Connect with Existing Voice Assistant by@charnull
2,010 reads
2,010 reads

Twilio: How to Connect with Existing Voice Assistant

by kosmas13mOctober 9th, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Twilio's recent bidirectional streaming feature allows you to receive call audio while still sending audio for playback asynchronously. This was not possible before, when communication had to be unidirectional: either you could receive the voice audio but could not respond to it, or you could send audio to the call but not get anything back from it. The process can be seen in detail in the flow diagram below: The only supported format is that mysterious mulaw (or u-law or μ-law) encoding, which is aimed specifically for speech audio.

Company Mentioned

Mention Thumbnail
featured image - Twilio: How to Connect with Existing Voice Assistant
kosmas HackerNoon profile picture
kosmas

kosmas

@charnull

Enthusiast of all things meta

About @charnull
LEARN MORE ABOUT @CHARNULL'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

kosmas HackerNoon profile picture
kosmas@charnull
Enthusiast of all things meta

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite