Skip to content
Advertisement

Tag: media

Proccesing audio from twilio media stream using Python

I am streaming call audio to my local server using Twilio Streams. For reference I used the offical guide from the Twilio Team. Decoding the audio and saving it to a .wav file works, although when playing back the audio sounds somewhat distored (“slow-motion” with compression artificats). You can listen to it on soundcloud here. Compared to the audio recording

Is there a way to parse a file through to a tag in HTML

I’m trying to make a private file host and I have it set to return a send_file() when the, for example, /media/someSong.mp3 url is called. But I want to make it more styled so when you visit /media/someSong.mp3, instead of your browser trying to play that MP3 in it, it will use a HTML page with a tag that parses

Advertisement