diff options
author | Joshua Colp <jcolp@digium.com> | 2012-10-04 13:49:45 +0000 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2012-10-04 13:49:45 +0000 |
commit | d78f7f92b2afa033ff959e84bf164454ca9a5de8 (patch) | |
tree | 6d34c64a2148b1b0eb340a6c27f39b3d024ee168 /include/asterisk/rtp_engine.h | |
parent | 4af961a03a5d00601ad18e75887e882602dc24fe (diff) |
Add support for applying direct media ACLs between differing channel technologies.
Review: https://reviewboard.asterisk.org/r/2122/
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@374414 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/rtp_engine.h')
-rw-r--r-- | include/asterisk/rtp_engine.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/asterisk/rtp_engine.h b/include/asterisk/rtp_engine.h index 293a7a792..72c162d20 100644 --- a/include/asterisk/rtp_engine.h +++ b/include/asterisk/rtp_engine.h @@ -509,10 +509,9 @@ struct ast_rtp_glue { /*! * \brief Used to prevent two channels from remotely bridging audio rtp if the channel tech has a * reason for prohibiting it based on qualities that need to be compared from both channels. - * \note This function should only be called with two channels of the same technology * \note This function may be NULL for a given channel driver. This should be accounted for and if that is the case, function this is not used. */ - int (*allow_rtp_remote)(struct ast_channel *chan1, struct ast_channel *chan2); + int (*allow_rtp_remote)(struct ast_channel *chan1, struct ast_rtp_instance *instance); /*! * \brief Callback for retrieving the RTP instance carrying video * \note This function increases the reference count on the returned RTP instance. @@ -521,10 +520,9 @@ struct ast_rtp_glue { /*! * \brief Used to prevent two channels from remotely bridging video rtp if the channel tech has a * reason for prohibiting it based on qualities that need to be compared from both channels. - * \note This function should only be called with two channels of the same technology * \note This function may be NULL for a given channel driver. This should be accounted for and if that is the case, this function is not used. */ - int (*allow_vrtp_remote)(struct ast_channel *chan1, struct ast_channel *chan2); + int (*allow_vrtp_remote)(struct ast_channel *chan1, struct ast_rtp_instance *instance); /*! * \brief Callback for retrieving the RTP instance carrying text |