diff options
author | Benny Prijono <bennylp@teluu.com> | 2006-03-03 10:43:08 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2006-03-03 10:43:08 +0000 |
commit | b572c1c64cab8d78d606b97ac5b95ee9c210ecd7 (patch) | |
tree | 514358b971e6e2602148c020d73c75e763e7f240 /pjmedia/include | |
parent | ee9d7c0db3e81ea4aa1c1749a2bb72a3b57d0660 (diff) |
Support for missing rtpmap for static payload types
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@276 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjmedia/include')
-rw-r--r-- | pjmedia/include/pjmedia/codec.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/pjmedia/include/pjmedia/codec.h b/pjmedia/include/pjmedia/codec.h index 7c118279..bab0018c 100644 --- a/pjmedia/include/pjmedia/codec.h +++ b/pjmedia/include/pjmedia/codec.h @@ -413,6 +413,19 @@ PJ_DECL(pj_status_t) pjmedia_codec_mgr_enum_codecs( pjmedia_codec_mgr *mgr, pjmedia_codec_info info[]); /** + * Get codec info for the specified static payload type. + * + * @param mgr The codec manager. + * @param pt Static payload type/number. + * @param inf Pointer to receive codec info. + * + * @return PJ_SUCCESS on success. + */ +PJ_DECL(pj_status_t) pjmedia_codec_mgr_get_codec_info(pjmedia_codec_mgr *mgr, + unsigned pt, + pjmedia_codec_info *inf); + +/** * Get default codec param for the specified codec info. * * @param mgr The codec manager. |