I'm starting to build an encrypted VoIP application in C++ in my spare time. I have a few years experience of C++, but not much networking. I'm brushing up on WinSock now, but am unsure about the VoIP aspect. I was wondering, how do you 'read' the sound coming from the microphone and what format is it represented in. Will it be wav?
Any tutorials relating to VoIP in C++ (or in general) would be appreciated.
A bit off-topic to ask about audio here... Have search for audio/sound/recording on www.codeguru.com and www.codeproject.com (there are several good articles) ... look at waveInOpen for instance
wave is a container format (RIFF)
wave-functions in Windows (multimedia api) can handle many different sound formats. Uncompressed audio is called PCM. It's also possible to use built-in codecs, such as the GSM 6.10 codec.
Bookmarks