Changeset 785 for pjproject/trunk/pjsip/include/pjsua-lib/pjsua.h
- Timestamp:
- Oct 20, 2006 11:08:49 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/include/pjsua-lib/pjsua.h
r783 r785 2530 2530 /** 2531 2531 * Create a file recorder, and automatically connect this recorder to 2532 * the conference bridge. 2532 * the conference bridge. The recorder currently supports recording WAV file, 2533 * and on Windows, MP3 file. The type of the recorder to use is determined 2534 * by the extension of the file (e.g. ".wav" or ".mp3"). 2533 2535 * 2534 2536 * @param filename Output file name. The function will determine the … … 2536 2538 * Currently ".wav" is supported on all platforms, and 2537 2539 * also ".mp3" is support on Windows. 2538 * @param file_format This option is obsolete. 2539 * @param encoding Optionally specify the encoding to be applied to the 2540 * file. By default (if NULL is specified), the encoding 2541 * is determined from the file extension (i.e. 16bit PCM 2542 * is used for the WAV files). 2543 * @param max_size Maximum file size. Specify -1 to remove size 2544 * limitation. 2540 * @param enc_type Optionally specify the type of encoder to be used to 2541 * compress the media, if the file can support different 2542 * encodings. This value must be zero for now. 2543 * @param enc_param Optionally specify codec specific parameter to be 2544 * passed to the file writer. For .MP3 recorder, this 2545 * can point to pjmedia_mp3_encoder_option structure to 2546 * specify additional settings for the .mp3 recorder. 2547 * For .WAV recorder, this value must be NULL. 2548 * @param max_size Maximum file size. Specify zero or -1 to remove size 2549 * limitation. This value must be zero or -1 for now. 2545 2550 * @param options Optional options. 2546 2551 * @param p_id Pointer to receive the recorder instance. … … 2549 2554 */ 2550 2555 PJ_DECL(pj_status_t) pjsua_recorder_create(const pj_str_t *filename, 2551 unsigned file_format,2552 const pj_str_t *encoding,2556 unsigned enc_type, 2557 void *enc_param, 2553 2558 pj_ssize_t max_size, 2554 2559 unsigned options,
Note: See TracChangeset
for help on using the changeset viewer.