aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk/rtp.h
diff options
context:
space:
mode:
authormogorman <mogorman@f38db490-d61c-443f-a65b-d21fe96a405b>2006-09-18 23:32:57 +0000
committermogorman <mogorman@f38db490-d61c-443f-a65b-d21fe96a405b>2006-09-18 23:32:57 +0000
commitc37364c1a8f6ece02acd67413b3ff755b4a57526 (patch)
treed7fed805868cbb9500e7ddc7978cfa89bb93d52a /include/asterisk/rtp.h
parentd4544fc8306f0cf0c207fc1d9b474e1d4fd4441c (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.h6
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