Add an API call that initializes an RTP structure. We need this because chan_sip is cheeky and uses a temporary RTP structure for codec purposes, and the API calls that are used rely on the lock. (Pointed out on asterisk-dev by Andy Wang)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48964 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Joshua Colp
2006-12-26 04:31:58 +00:00
parent 84a2b97b17
commit 9cc04e026d
3 changed files with 22 additions and 6 deletions

View File

@@ -209,6 +209,8 @@ char *ast_rtp_get_quality(struct ast_rtp *rtp);
/*! \brief Send an H.261 fast update request. Some devices need this rather than the XML message in SIP */
int ast_rtcp_send_h261fur(void *data);
void ast_rtp_new_init(struct ast_rtp *rtp);
void ast_rtp_init(void);
int ast_rtp_reload(void);