File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other JSE/JEE APIs and the fly likes Real time voice chat ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Real time voice chat ?" Watch "Real time voice chat ?" New topic

Real time voice chat ?

jhun kam

Joined: Dec 05, 2001
Posts: 18
i got an idea of making a chatting program, but instead of text based, i want it voice based. we can speak through a mic, and the others can listen from headphones or speakers.
is there any API in Java that i can use for this purpose. i really dont know where to start from. please help
thanks before, guys
Roy Huang
Ranch Hand

Joined: Nov 21, 2001
Posts: 104
You can try Java Sound API or Java Speech API, the latter offers also easy speech recognition function.
Java Sound API is included with the Java SDK, but Speech API is always together with the third party software. (like IBM speech API...)
Then U need also the Socket programming....
Hope it will help you.

SCJP 1.4/SCBCD/SCWCD<br />MCSE<br />IBM professional XML Developer<br />SAP certified Development Consultant (NetWeaver portal and Web JavaApplication)
finbarr brady

Joined: Dec 06, 2001
Posts: 1
I am also developing a voice conferencing app in java. you could use Java Sound or The Java Media Framework API ( can also be used. Java sound offers low level access to sound cards and lets you compress the data, but is harder to program. JMF has a lot done for you already and is easier to develop with.
Hope this helps.

Joined: Jul 24, 2002
Posts: 2
i need source code example about voice chat using jmf. Because i'm very new to java. I have read many material but still cannot understand how to start. Please if anybody have a source code send it to me
Rob Ross

Joined: Jan 07, 2002
Posts: 2205
Please change your name to comply with the naming policy to which you agreed when you registered here..

For your publicly displayed name,
use a first name, a space, and a last name.

You can change your name here:

You can also find the naming policy here:
Thank You!

SCJP 1.4
I agree. Here's the link:
subject: Real time voice chat ?
It's not a secret anymore!