| View previous topic :: View next topic |
| Author |
Message |
phyx3r
Joined: 25 Jan 2010 Posts: 2
|
Posted: Mon Jan 25, 2010 18:23 Post subject: VCX c# sound problems |
|
|
Hi, i'm using the VCX enterprise library to make a custom voip client/server architecture. I've a problem with the sound playing on the client machine. The sound is very scratchy on the client and is perfect on the server. I'm using the ipserver/ipclient components as seen in the demos projects. I've made a test with the waveriff player too and the sound is ever scratchy.
My client application was tested on two different developing machines and the results are the same.
What can be wrong? Is there a way to chose the driver to use (eg. Asio, DirectX...) or does it directly use the audio device?
Thanks! |
|
| Back to top |
|
 |
Aleksandr

Joined: 06 Apr 2005 Posts: 404 Location: Kharkiv, UA
|
Posted: Wed Feb 03, 2010 12:42 Post subject: |
|
|
Try changing the codec you setup on server machine. Codec is specified by FormatTag property, try 49 for GSM (it support only mono) or 2 for ADPCM.
Our libraries use only ACM and MME interfaces, so drivers should not matter. _________________ Happy coding.
Last edited by Aleksandr on Wed Feb 03, 2010 15:29; edited 1 time in total |
|
| Back to top |
|
 |
phyx3r
Joined: 25 Jan 2010 Posts: 2
|
Posted: Wed Feb 03, 2010 14:13 Post subject: |
|
|
I don't think that it's a codec problem because I've tried to play a wave file with the waveriff component and the problem persists: the sound is scratchy. I've tried the same app on two different machines and the problem persists (so it's not an hardware problem also because windows sounds are correctly played).
Do you know about any compatibility issues with any other (.net or third party) components that I might use in my software?
I'll try to change the codec but, in the meantime, do you have any other suggestions?
Thank You very much for the help. |
|
| Back to top |
|
 |
Aleksandr

Joined: 06 Apr 2005 Posts: 404 Location: Kharkiv, UA
|
Posted: Wed Feb 03, 2010 15:32 Post subject: Re: VCX c# sound problems |
|
|
| phyx3r wrote: | | The sound is very scratchy on the client and is perfect on the server. |
Can you please try swapping client and server? Just to verify is it something wrong with server codec or with client WaveOut. _________________ Happy coding. |
|
| Back to top |
|
 |
Matti
Joined: 03 Jul 2011 Posts: 1
|
Posted: Sun Jul 03, 2011 13:50 Post subject: |
|
|
Hello.
We are currently evaluating your product and having a similar problem.
The sound is scrachy when we're building our own project but works fine on your examples. Help is needed, thanks. |
|
| Back to top |
|
 |
|