From d52fe4e2270ab3f06f7bef271c1274428e7049ba Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Thu, 19 Oct 2006 15:49:47 +0000 Subject: Support for MP3 recording for Win32 target. Also added "--rec-file" and "--auto-rec" option in pjsua to record voice conversion. The "--rec-file" option will record to either .WAV or .MP3 depending on the file extension. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@783 74dad513-b988-da41-8d7b-12977e46ad98 --- pjsip/include/pjsua-lib/pjsua.h | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'pjsip/include/pjsua-lib') diff --git a/pjsip/include/pjsua-lib/pjsua.h b/pjsip/include/pjsua-lib/pjsua.h index 39d5caf3..8eeceed8 100644 --- a/pjsip/include/pjsua-lib/pjsua.h +++ b/pjsip/include/pjsua-lib/pjsua.h @@ -2531,12 +2531,15 @@ PJ_DECL(pj_status_t) pjsua_player_destroy(pjsua_player_id id); * Create a file recorder, and automatically connect this recorder to * the conference bridge. * - * @param filename Output file name. - * @param file_format Specify the file format (currently only WAV is - * supported, so the value MUST be zero). - * @param encoding Specify the encoding to be applied to the file. - * Currently only 16bit raw PCM is supported, so - * the value must be NULL. + * @param filename Output file name. The function will determine the + * default format to be used based on the file extension. + * Currently ".wav" is supported on all platforms, and + * also ".mp3" is support on Windows. + * @param file_format This option is obsolete. + * @param encoding Optionally specify the encoding to be applied to the + * file. By default (if NULL is specified), the encoding + * is determined from the file extension (i.e. 16bit PCM + * is used for the WAV files). * @param max_size Maximum file size. Specify -1 to remove size * limitation. * @param options Optional options. -- cgit v1.2.3