cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
344
Views
0
Helpful
0
Comments
cdnadmin
Community Member
This document was generated from CDN thread

Created by: denes istvan on 01-08-2013 06:50:44 AM
I'm trying to modify the Sample Application found on your site, to use the EpApi. I have managed to create a call and open the wave file, but when I send the wav file with EpStreamWrite function all I can hear is various static noises.

I used the EpStreamCodecOutSet function with the following parameters:
channels: 1
sampleRate: 8000
fmtAvgBPS: 8000
fmtBlockAlign: 1
bitDepth: 8

Do I need to set anything else?

Subject: RE: Wav file through EpApi
Replied by: Christoph Mueller on 03-09-2013 09:54:44 AM
Have the same problem here.
Did you solve this issue?

Any help would be appreciated

Subject: RE: Wav file through EpApi
Replied by: denes istvan on 04-09-2013 02:13:49 AM
The problem as I found out is that although EpApi lets you change the codec, cisco only supports mu-law encoding. Your standard wav file is usually in PCM. So you need to convert the wav file before you send it through a stream. Check out NAudio, it does conversions and has also a sample application that resolves your problem.

Subject: RE: Wav file through EpApi
Replied by: Christoph Mueller on 04-09-2013 03:50:24 AM
Denes you are a life-saver

Subject: RE: Wav file through EpApi
Replied by: denes istvan on 04-09-2013 04:16:45 AM
No problem

The problem however is that noone seems to save my life on the other forum thread. I'm stuck with the same problem for a week now. No response from cisco either.
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links