From: inode <in...@wa...> - 2009-04-16 08:26:59
|
On Wed, 15 Apr 2009, Mihai Balea wrote: > > > In test mode you you can get the incoming audio stream, either encoded > or in raw form. It depends on what flags you use to initialize the > library. You will not be able to get outgoing audio, which is quite > normal considering that your audio hardware is not initialized and, as > a matter of fact, the application is supposed to provide the outgoing > audio > > Take a look at the audio flags in iaxclient.h and also check out > simpleclient/stresstest, which is an example application that uses the > test mode. > I'm trying the stresstest.c and another source code made by me, but seem that something is wrong. With stresstest.c I can see that IAXC_EVENT_AUDIO callback is never called, and you can see at the end of the call: "stresstest: 2009-04-16 10:05:52: Received 0 audio frames and 0 video frames" If you edit the stresstest.c and you disable the test mode you will see: "stresstest: 2009-04-16 10:12:35: Received 252 audio frames and 0 video frames" Any idea? Thank you in advance. inode |