File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes VoIP Java application Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "VoIP Java application" Watch "VoIP Java application" New topic
Author

VoIP Java application

Hussein Baghdadi
clojure forum advocate
Bartender

Joined: Nov 08, 2003
Posts: 3359

Hi.
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
Bartender

Joined: Oct 29, 2001
Posts: 8259

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.


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[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
Bartender

Joined: Feb 24, 2006
Posts: 6588
    
    1

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 - SCJP Mocks - SCJP 5 Mock exam (Word document ) - SCJP 5 Mock exam in Java.Inquisition format
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: VoIP Java application
 
Similar Threads
Some questions regarding noise in voice capture and VoIP
Push a page
how should i make a directory
Voice Chatting using JMF
JMF-RTP audio. please help.