Help!Java VOIP Programming


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 13 of 13

Thread: Help!Java VOIP Programming

  1. #1
    Join Date
    Apr 2005
    Posts
    4

    Unhappy 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?


    Thanks,
    William

  2. #2
    Join Date
    Jan 2005
    Location
    Limerick, Ireland
    Posts
    19
    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

  3. #3
    Join Date
    Apr 2005
    Posts
    4

    Smile

    thanks a lot for your information

    but how to use H.323 architecture for call signaling?
    as i got information from this site,
    http://www.tutorial-reports.com/inte...technology.php
    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

  4. #4
    Join Date
    May 2005
    Posts
    3

    voip too

    hi there
    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.

    thx
    varun

  5. #5
    Join Date
    Jan 2005
    Location
    Limerick, Ireland
    Posts
    19
    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?

  6. #6
    Join Date
    Apr 2005
    Posts
    4
    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?

  7. #7
    Join Date
    Jan 2005
    Location
    Limerick, Ireland
    Posts
    19
    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

  8. #8
    Join Date
    Jun 2005
    Posts
    1
    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

    http://developer.apple.com/quicktime/qtjava/

    l8r,
    Gorm

  9. #9
    Join Date
    Jun 2006
    Posts
    5
    Quote Originally Posted by William_AC
    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?
    hello
    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
    aslam

  10. #10
    Join Date
    Jun 2006
    Posts
    5
    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???

  11. #11
    Join Date
    Oct 2006
    Posts
    1
    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

  12. #12
    Join Date
    Jan 2007
    Posts
    2
    hey man i am making same application in VB as william is making so tell me how far you have gone

  13. #13
    Join Date
    Jun 2006
    Posts
    5
    Quote Originally Posted by tejasglobal
    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
    and what abt u?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center