diff options
author | Matt O'Gorman <mogorman@digium.com> | 2006-09-18 23:32:57 +0000 |
---|---|---|
committer | Matt O'Gorman <mogorman@digium.com> | 2006-09-18 23:32:57 +0000 |
commit | 465adf2bf165ad6b27cd2659ad731ff1d24dfed5 (patch) | |
tree | d7fed805868cbb9500e7ddc7978cfa89bb93d52a /include/asterisk/rtp.h | |
parent | 9177d1143b295559497b46d08869e60f8ac9b887 (diff) |
allow for packetization on rtp channel drivers, need to add
option for setting our own packetization as apposed to just doing
what is asked.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43243 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/rtp.h')
-rw-r--r-- | include/asterisk/rtp.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/asterisk/rtp.h b/include/asterisk/rtp.h index 6780c2adc..c332159ec 100644 --- a/include/asterisk/rtp.h +++ b/include/asterisk/rtp.h @@ -210,6 +210,12 @@ void ast_rtp_init(void); int ast_rtp_reload(void); +int ast_rtp_codec_setpref(struct ast_rtp *rtp, struct ast_codec_pref *prefs); + +struct ast_codec_pref *ast_rtp_codec_getpref(struct ast_rtp *rtp); + +int ast_rtp_codec_getformat(int pt); + #if defined(__cplusplus) || defined(c_plusplus) } #endif |