🔒 Locked
Streaming Audio, How?
Advertisement
Original Post
Hi guys, I'd like to ask how streaming audio is done? kinda like Skype or internet radios, how do they stream audio? anyone have any resource/tutorial about it? Assuming I know how to record audio and play audio files. and no, i'm not looking for a particular API for streaming music...more of a tutorial on "how to do it myself as an exercise"...:) thanks!
hi,
thanks for the fast reply.
sorry, i must've made some mistake in my previous post.
assuming i know how to record audio into a file through an API and play the file with an API.
how do i get wav bits? i know i'll have to study the .wav file format right? how do i know how much 'wav bits' to get before i send it to the network for it to be realtime?
thanks.
hmm...i was thinking about streaming audio realtime...
so is it possible that i just save, say, every 1 second of recorded audio to a file, send that file to the other party, and on the other party's machine, play the audio file? will that be realtime enough? would it be fast?
it might be choppy, i think...
any ideas on what the algorithm would be?
so is it possible that i just save, say, every 1 second of recorded audio to a file, send that file to the other party, and on the other party's machine, play the audio file? will that be realtime enough? would it be fast?
it might be choppy, i think...
any ideas on what the algorithm would be?
Each wav file contains a value that indicates the approximate bandwidth needed to play the file. Obviously, the overhead of streaming that file will add to the required bandwidth. And then more importantly, wav files can be encoded with many different codecs. You would need to either ensure that everyone listening to the stream had the required codecs, or a better way, at least had one particular codec that the stream server uses when it re-encodes the wav.
Topic Locked
This topic has been locked by a moderator. New replies are not allowed.
Sign in to reply to this topic.
Advertisement