Results 1 to 2 of 2
I want to design an audio chat programming in Ubuntu.
So how shall I proceed? Any help on this please?
I am complete novice in this topic. Currently my aim
...
- 04-08-2010 #1Just Joined!
- Join Date
- Apr 2010
- Posts
- 1
Audio Chat Programming
I want to design an audio chat programming in Ubuntu.
So how shall I proceed? Any help on this please?
I am complete novice in this topic. Currently my aim
is to capture audio from microphone.
- 04-08-2010 #2Linux Newbie
- Join Date
- Mar 2010
- Posts
- 121
It sounds like you want to do two similar-but-related things - (i) capture/play audio from/to a local sound device and (ii) stream audio over a network.
First-off, there are already programs that do that (SIP phones). Not to put you off doing it, but if you just want to make such a thing available, you might want to search for an already-started project and contribute to that.
If you want to start from scratch, however:
1) To capture audio a good, portable library is PortAudio. There are also other options like using ALSA directly, or Jack or PulseAudio. ALSA is quite low-level, and Jack and PulseAudio both rely on those servers being on the machine your program's running on, so they may make your application less portable.
2) To send your audio out over a network, you'll want an RTP library or something similar - ccRTP is one I can personally recommend. Alternatively, I believe PulseAudio has some network-audio capabilities, though again that will limit cross-platform-"ness" and I'm not sure how flexible it is, or how flexible you'd want it to be.
Both of these are broad subjects, I'm sure you can find loads of tutorials and code samples by searching on the web.


Reply With Quote
