Help!Java VOIP Programming
I am doing my programming project which is voip application that allows Pc to Pc communication
and i have did many reading on H.323 architecture and RTP protocol
Does anyone know ho to program voip application with H.323 architecture using java language?
what tool(s) or API(s) do i need?
if possible can you give me sample code?
Firstly you will need to download the Java Sound API to use for the capture and playback of the audio. Then you will need to get the Java Media Framwork to use to encode and send the data in RTP packets. Are you making this application for use over a LAN or over the net? If its only for use over a LAN then sending the audio data using TCP/IP is sufficient but if you are going to use it over the net you will have to use RTP and you will also need to look into using RSVP or Steam Protocol V2 for the QoS requirements
thanks a lot for your information
but how to use H.323 architecture for call signaling?
as i got information from this site,
it said that we need to packetize voice data before sending across internet(using RTP) and establish a connection first(done by h.323)
NB: i making this application for use over internet
I am also looking for designing a simple VOIP application usind RTP and JMF.
If you have any documentation or some other resources, please share it with me.
The above link you mentioned is not working. Plz check it again.
Soodvarun you can find all the necessary documentation on the Java media framework at http://java.sun.com/products/java-me...ocs/index.html that will tell you how to use to framework to capture the voice data and convert it to rtp packets and how to set up an rtp session for the transmission of the packets also check out http://www.developer.com/java/other/article.php/1565671
William using the H.323 specification is very sepcialised and requires the use of certain components (Gateways, gatekeepers and MCUs if i remember correctly) To use the H.323 specification you would be developing an application that requires access to the PSTN (Public Switched Telephone Network) and you said that is is only for use over the internet so if i was you I would stay away from H.323 unless its absolulty necessary and start researching different streaming methods. What exactly will the software be used for? Are you developing it for a company?
Ok, i see right now.
I am trying to design it for public user, including home user and small company (uses IP network)
actually functions that i would like to include are as follows:
1. it must have Voice over IP functionality (core function)
2. it must supports Video over ip functionality (core function)
(besides that, QoS or voice performance also need to be consider).
3. if possible, i will enhance it by having voiceconferencing
so, how about RSVP, do you have any resources on how to use it?
what other protocols or ideas would you like to recommend for developing this application?
because you are going to be developing this application for home users aswell you will not be able to make any guarantees about QoS as each router between each of the calling parties will have to have RSVP enabled routers which is something that you cannot guarantee. The only plausible option is to use RTP packets for the voice and video transmission. I suggest you do some research into RTP. Also there is a very good document on Voice over IP at http://research.edm.luc.ac.be/jori/t.../contents.html written by Jori Liesenborgs you should find all that you need to know regarding the different protocols that are used and i believe that he also implemented a VoIP framework that you might be able to use in your application
You also may want to look into using the Java and Quicktime. There is a Java framework available for Quicktime. Here is a link to Apple's site for Quicktime for Java
Originally Posted by William_AC
i am also doing the same project but as a collage's project
if got any valuable info kindly pass it to me coz we are at the begnning
sate of our project our project member srength is 4
thanks for the info..
we r planing to implement in LAN. So we r Using only TCP for it. but the thing i dont under stant is that it easy to make a chat program for cahting b/w 2 computers. i in a confision that how can i chat with a phone which is connected to the LAN. what would be the practical difficuties for it. for using a oridany phone and how will we connect to it???
i m working on my college project called document conferencing , in this i need to send voice and data file over a network.so i m using jmf and rtp but i m totally new to this technology and i m feeling myself direction less.
till now i hav captured voice using jmf and also hav written some client and server programs for rtp. but they r not taking me any where.
plz help me if u can
hey man i am making same application in VB as william is making so tell me how far you have gone
hey i just strated the documentatiion part thats all
Originally Posted by tejasglobal
and what abt u?
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center