- Timestamp:
- Jun 30, 2009 3:02:06 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/include/pjmedia-codec/passthrough.h
r2506 r2825 49 49 PJ_BEGIN_DECL 50 50 51 52 /** 53 * Codec passthrough configuration settings. 54 */ 55 typedef struct pjmedia_codec_passthrough_setting 56 { 57 unsigned fmt_cnt; /**< Number of encoding formats 58 to be enabled. */ 59 pjmedia_format *fmts; /**< Encoding formats to be 60 enabled. */ 61 } pjmedia_codec_passthrough_setting; 62 63 51 64 /** 52 * Initialize and register passthrough codecs factory to pjmedia endpoint. 65 * Initialize and register passthrough codecs factory to pjmedia endpoint, 66 * all supported encoding formats will be enabled. 53 67 * 54 68 * @param endpt The pjmedia endpoint. … … 58 72 PJ_DECL(pj_status_t) pjmedia_codec_passthrough_init( pjmedia_endpt *endpt ); 59 73 74 75 /** 76 * Initialize and register passthrough codecs factory to pjmedia endpoint 77 * with only specified encoding formats enabled. 78 * 79 * @param endpt The pjmedia endpoint. 80 * @param setting The settings, see @pjmedia_codec_passthrough_setting. 81 * 82 * @return PJ_SUCCESS on success. 83 */ 84 PJ_DECL(pj_status_t) pjmedia_codec_passthrough_init2( 85 pjmedia_endpt *endpt, 86 const pjmedia_codec_passthrough_setting *setting); 60 87 61 88
Note: See TracChangeset
for help on using the changeset viewer.