Re: Voice over IP



On Fri, 18 Jan 2008 01:54:38 -0800 (PST),
laurascomputer4@xxxxxxxxxxxxxx wrote, quoted or indirectly quoted
someone who said :

as a rookie with java, i would like to ask for some help with starting
to create a basic java software to allow voice over ip

You need several pieces.

1. Something that will capture microphone output in real time.

2. Something that will play a short sound file in real time, without
pause between the next.

3. Something to compress/decompress the voice. It might even pay to
do FFTs and compress that.

4. transport layer, most likely UDP Datagrams. If you lose a packet,
you'd better hear silence than have a echo delay introduced that you
never make up.

5. Some sort of server phone book and a scheme to make connections and
warn subscribers of incoming calls.

See http://mindprod.com/jgloss/udp.html
http://mindprod.com/jgloss/jmf.html
http://mindprod.com/jgloss/fft.html
http://mindprod.com/jgloss/servletwomb.html
--
Roedy Green, Canadian Mind Products
The Java Glossary, http://mindprod.com
.