diff options
author | mogorman <mogorman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-09-18 23:32:57 +0000 |
---|---|---|
committer | mogorman <mogorman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-09-18 23:32:57 +0000 |
commit | c37364c1a8f6ece02acd67413b3ff755b4a57526 (patch) | |
tree | d7fed805868cbb9500e7ddc7978cfa89bb93d52a /include/asterisk/rtp.h | |
parent | d4544fc8306f0cf0c207fc1d9b474e1d4fd4441c (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: http://svn.digium.com/svn/asterisk/trunk@43243 f38db490-d61c-443f-a65b-d21fe96a405b
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 |