Results 1 to 13 of 13
  1. #1
    asifsolkar is offline Member
    Join Date
    Dec 2007
    Location
    India
    Posts
    14
    Rep Power
    0

    Question VOIP Server Hardware Requirements

    Hi Guys,

    I am developing a VOIP Application using java. The development has gone quite well. The problem i am facing is When i deploy it on server it doesn't work.

    Voice chat works well on my desktop both server and client. But On Server it doesn't work . What configuration do i need on server so that it can work. Is there a specific sound card to be installed.

    I have a remote desktop access to the server. To run the server app i double click on it and it starts working but connection for sound socket fails

    Here is the error i get :

    Exception caught while passing socket to ivConnectionjavax.sound.sampled.LineUnavailableExc eption: line with format PCM_SIGNED 8000.0 Hz, 16 bit, mono, 2 bytes/frame, little-endian not supported.

  2. #2
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

    Default

    Seems to me memory is not enough for rendering voice. I found quite same thing on a different application few years back, little-endian always described about lower memory.

  3. #3
    asifsolkar is offline Member
    Join Date
    Dec 2007
    Location
    India
    Posts
    14
    Rep Power
    0

    Default

    Eranga Thanks for your reply.

    There is a usb sound card installed on the server

    Its windows 2003 web Edition
    2.80 ghz , 1 Gb Ram isnt this enuf , what do u suggest ?

    Also there is plesk control panel , does this block any thing on the server

  4. #4
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

  5. #5
    asifsolkar is offline Member
    Join Date
    Dec 2007
    Location
    India
    Posts
    14
    Rep Power
    0

    Default

    Quote Originally Posted by Eranga View Post
    I think you used a latest USB, 2.0?
    What does that mean ?

    Does it mean usb 2.0 sound card cannot be used by java , does it need onboard sound card ?

  6. #6
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

    Default

    No way pal. I thought you may used USB 1.0. It's not support in most of the cases of VOIP applications.

    Again I told you this is because of the lower memory. Because of that system can't make the connection, and you got the line unavailable exception there.

    There should be one reason too. May your connection(communication line) used some other application.

  7. #7
    asifsolkar is offline Member
    Join Date
    Dec 2007
    Location
    India
    Posts
    14
    Rep Power
    0

    Default

    Eranga Can you have a look at this screenshot and tell me if u get some thing out of it

    [img=http://img181.imageshack.us/img181/4770/ivserverdevicemanagerdw1.th.jpg]


    Thanks
    Last edited by asifsolkar; 05-09-2008 at 09:41 AM.

  8. #8
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

    Default

    What happened to your MIDI drivers? Update and try. It may fix the issue, because it's the protocol define the digital communication.

  9. #9
    asifsolkar is offline Member
    Join Date
    Dec 2007
    Location
    India
    Posts
    14
    Rep Power
    0

    Default

    New Error has popped up now!

    Audiojava.lang.IllegalArgumentException: Line unsupported: interface TargetDataLine supporting format PCM_SIGNED 8000.0 Hz, 16 bit, mono, 2 bytes/frame, little-endian

    Also i would like you expert opinion on the following.

    • I have a remote desktop acess to this windows 2003 server (web edition).
    • I usually connect to the server using RDC and then double click on server application to launch it
    • This all worked fine with text chat my client apps could connect to this server app using the specified port.


    Now i am doing a voice chat which makes use of sound card. if sound card not found it wont initialize and the voice socket fails.

    I am a bit unsure that if i launch the app from remote desktop connection , which sound card does it uses ? does it use RDP Sound card or the Desktop sound card installed

    So I thought of putting the app in the schedule task which will run like an App Service for that machine but in this case the UI will not be shown it will run in a background.

    So now it starts running when server is rebooted i can see the task running in schedule task folder but now my client apps cannot find the port open and cant communicate with the server app.

    In Earlier case when i launched the app from Remote desktop by double clicking it worked and my client apps found the port.

    the server guys say they have installed sound card properly so what should be done so that my application starts using the local resources like it does on the desktop/ laptop

    thanks for your earlier replies ..

  10. #10
    asifsolkar is offline Member
    Join Date
    Dec 2007
    Location
    India
    Posts
    14
    Rep Power
    0

    Default

    Eranga do i need to install some codec so that my voice chat works on the server

  11. #11
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

    Default

    I don't think so. I'm not sure but may be there is some issue with data conversion on two different sound card drivers.

    Do you found such information on leaflet on the device? Or any?

    And also working on remote desktop application wont be issue either. Remote desktop doesn't have any banded process.

  12. #12
    asifsolkar is offline Member
    Join Date
    Dec 2007
    Location
    India
    Posts
    14
    Rep Power
    0

    Default

    What do you mean by two differend sound card drives ?

    I just wonder it the Application can work on my machine which has onboard sound card why it wouldnt work on server which has a sound card installed on it. Any clues ?

  13. #13
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

    Default

    I'm talking about the sound card technology. If there is two different manufactures cards in the server and client, because the technology they used to develop can cause for our application. I go the same scenario one of my firs application. One of my senior advice me to use same type of cards in development in early stages. Later develop an API to handle it for any cards.

    What are your sound card models?

    It can't be an issue on on-board or separate sound cards.

Similar Threads

  1. Replies: 2
    Last Post: 07-15-2008, 07:11 PM
  2. Urgent Opening in C++/Java with SIP/VoIP
    By Satish.kumar in forum Jobs Offered
    Replies: 3
    Last Post: 03-30-2008, 10:24 AM
  3. One server to another server redirection
    By chaudhuri_abhi in forum Java Servlet
    Replies: 1
    Last Post: 02-11-2008, 08:05 PM
  4. Minimum system requirements
    By coco in forum New To Java
    Replies: 1
    Last Post: 07-31-2007, 09:19 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •