Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Linux Archive
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-08-2008, 10:30 AM
Member
 
Join Date: Dec 2007
Location: India
Posts: 11
asifsolkar is on a distinguished road
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.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 05-08-2008, 10:35 AM
Eranga's Avatar
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 4,545
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
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.
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Has someone helped you? Then you can
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
their helpful post.

Want to make your IDE the best?
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 05-08-2008, 01:00 PM
Member
 
Join Date: Dec 2007
Location: India
Posts: 11
asifsolkar is on a distinguished road
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
Bookmark Post in Technorati
Reply With Quote
  #4 (permalink)  
Old 05-08-2008, 01:37 PM
Eranga's Avatar
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 4,545
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
I think you used a latest USB, 2.0?
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Has someone helped you? Then you can
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
their helpful post.

Want to make your IDE the best?
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
  #5 (permalink)  
Old 05-08-2008, 03:16 PM
Member
 
Join Date: Dec 2007
Location: India
Posts: 11
asifsolkar is on a distinguished road
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 ?
Bookmark Post in Technorati
Reply With Quote
  #6 (permalink)  
Old 05-09-2008, 05:23 AM
Eranga's Avatar
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 4,545
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
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.
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Has someone helped you? Then you can
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
their helpful post.

Want to make your IDE the best?
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
  #7 (permalink)  
Old 05-09-2008, 10:35 AM
Member
 
Join Date: Dec 2007
Location: India
Posts: 11
asifsolkar is on a distinguished road
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 10:41 AM.
Bookmark Post in Technorati
Reply With Quote
  #8 (permalink)  
Old 05-09-2008, 10:53 AM
Eranga's Avatar
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 4,545
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
What happened to your MIDI drivers? Update and try. It may fix the issue, because it's the protocol define the digital communication.
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Has someone helped you? Then you can
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
their helpful post.

Want to make your IDE the best?
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
  #9 (permalink)  
Old 05-14-2008, 11:38 AM
Member
 
Join Date: Dec 2007
Location: India
Posts: 11
asifsolkar is on a distinguished road
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 ..
Bookmark Post in Technorati
Reply With Quote
  #10 (permalink)  
Old 05-15-2008, 11:11 AM
Member
 
Join Date: Dec 2007
Location: India
Posts: 11
asifsolkar is on a distinguished road
Eranga do i need to install some codec so that my voice chat works on the server
Bookmark Post in Technorati
Reply With Quote
  #11 (permalink)  
Old 05-15-2008, 12:22 PM
Eranga's Avatar
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 4,545
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
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.
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Has someone helped you? Then you can
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
their helpful post.

Want to make your IDE the best?
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
  #12 (permalink)  
Old 05-18-2008, 04:07 PM
Member
 
Join Date: Dec 2007
Location: India
Posts: 11
asifsolkar is on a distinguished road
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 ?
Bookmark Post in Technorati
Reply With Quote
  #13 (permalink)  
Old 05-21-2008, 06:23 AM
Eranga's Avatar
Moderator
 
Join Date: Jul 2007
Location: Colombo, Sri Lanka
Posts: 4,545
Eranga has a spectacular aura aboutEranga has a spectacular aura about
Send a message via Yahoo to Eranga
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.
__________________
Use an appropriate Subject. "Help, urgent!" isn't one.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Has someone helped you? Then you can
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
their helpful post.

Want to make your IDE the best?
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Web-App server connection - How to hit the particular app server from the web server maruthi_s Enterprise JavaBeans 2 07-15-2008 08:11 PM
Urgent Opening in C++/Java with SIP/VoIP Satish.kumar Jobs Offered 3 03-30-2008 11:24 AM
One server to another server redirection chaudhuri_abhi Java Servlet 1 02-11-2008 09:05 PM
Java performance Issues (IV) - Hardware interfacing JavaForums Java Blogs 0 01-31-2008 03:20 PM
Minimum system requirements coco New To Java 1 07-31-2007 10:19 PM


All times are GMT +3. The time now is 02:24 AM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org