Hi all,
I am working with sipXtapi-media-update branch, and placing code inside the
sipXezPhone.
I would like to find out how to record an audio file.
I want to record what is coming over the network in a .wav file.
Could someone please provide help on how to record an audio file, and give
more information on how is the following code being used and/or should be
used to record an audio file?
1. How is ezRecord used?
//! Start recording audio for this call.
virtual OsStatus ezRecord(int ms,
int silenceLength,
const char* fileName,
double& duration,
int& dtmfterm,
OsProtectedEvent* ev = NULL) = 0;
2. What is this function doing?
OsStatus CpCall::ezRecord(int ms, int silenceLength, const char* fileName,
double& duration, int& dtmfterm)
{
return mpMediaInterface->ezRecord(ms, silenceLength, fileName, duration,
dtmfterm);
}
Thanks
Melanie
_________________________________________________________________
View Athletes Collections with Live Search
http://sportmaps.live.com/index.html?source=hmemailtaglinenov06&FORM=MGAC01
_______________________________________________
sipxtapi-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/