File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes VoIP Java application 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 » Java in General
Bookmark "VoIP Java application" Watch "VoIP Java application" New topic

VoIP Java application

Hussein Baghdadi
clojure forum advocate

Joined: Nov 08, 2003
Posts: 3479

Consider the typical chat application (a panel which lists all active users , text field to type into, a panel which displays all posts).
This applicatin is implemented as a Swing application.
Now this chat application should support VoIP according to :
When a user talks (using the microphone),all the active users should hear what he says.
My questions are :
1. How to collect the voice input from the user ? (using Java Communication API)
2. What to do with the uploaded voice (save it for example) ?
3. When the voice is transmitted to users, how to play it ?
4. Any open source libraries that I can make use of them ?
Joe Ess

Joined: Oct 29, 2001
Posts: 9168

The Java Communication API is for working with serial and parallel ports. The Java Media Framework is the API for working with media devices and is likely your starting point.

[How To Ask Questions On JavaRanch]
Arun Prasath
Ranch Hand

Joined: Sep 17, 2003
Posts: 192
For call initiation, and call handling, SIP(Session Initiation Protocol) is used. Java implementation of this protocol is available as Jain-Sip API.

SCJP 1.4, SCDJWS , SCJA<br />I can do ALL things through CHRIST who strengthens me.
Deepak Bala

Joined: Feb 24, 2006
Posts: 6662

I would also suggest you look into the SIP protocol. I have not done this yet but did some high level research on it a few months back.

SCJP 6 articles - SCJP 5/6 mock exams - More SCJP Mocks
I agree. Here's the link:
subject: VoIP Java application
It's not a secret anymore!