r2670 - in trunk: libminisip libminisip/include libminisip/include/libminisip/mediahandler libminisip/source/mediahandler minisip/minisip/gui/gtkgui

Cesc cesc.santa at gmail.com
Sun Jul 2 16:50:27 CEST 2006


NEW Feature: Call Recording
It allows to record each call separately to a file.
It does so on a 2 channel, 8Khz, 16 bit, raw file. Each side of the
call (incoming and
outgoing audio) is recorded separately to a channel (it is clearer to
listen than if everything
was mixed).

By hooking a CallRecorder object into the MediaStreamReceiver and the
SoundCallBacks.
It uses the FileSoundDevice to write the recorded call to a file.
There is a new button on the GTK gui (a red circle, next to the
silence headset and microphone).

I forgot to mention ... the call record can be st arted and stopped
 ... and all is saved on to the same file ...

Oh! The file is saved as a raw, 16 bit, 2 channel, 8KHz formatted
audio. In linux, you can convert it to a WAV file with the command:

sox -c 2 -r 8000 minisip.callrecord.1.0.8khz.16bit.signed.raw.sw temp.wav


BTW, it needs testing and improvement ... I'll do it in the coming
days. But it already works ... with some perks :)

Cesc


More information about the Minisip-users mailing list