summaryrefslogtreecommitdiff
path: root/pjsip/include
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2006-10-19 15:49:47 +0000
committerBenny Prijono <bennylp@teluu.com>2006-10-19 15:49:47 +0000
commitd52fe4e2270ab3f06f7bef271c1274428e7049ba (patch)
tree1920b91cf8b2fe0b5700c74bc58e5cab7e7459ff /pjsip/include
parent93e800a0b3b255f2b80239e0560141eea24c8d35 (diff)
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
Diffstat (limited to 'pjsip/include')
-rw-r--r--pjsip/include/pjsua-lib/pjsua.h15
1 files changed, 9 insertions, 6 deletions
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.