summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTorrey Searle <torrey@voxbone.com>2017-07-28 14:53:44 +0200
committerTorrey Searle <tsearle@gmail.com>2017-08-09 08:57:50 -0500
commita2dde5915400bfd2355f23c60b3ae7316290f820 (patch)
tree7b5994b3ed3fe9601206ea0ba935b40beaf475d9 /include
parentdf4bcdda2ac6f52ad2f75365c2b2d9fb77c19e85 (diff)
res_rtp_asterisk: Make P2P bridge Asymmetric codec aware
Introduce a new property to rtp-engine to make it aware of the desire for assymetric codecs or not. If asymmetric codecs is not allowed, the bridge will compare read/write formats and shut down the p2p bridge if needed ASTERISK-26745 #close Change-Id: I0d9c83e5356df81661e58d40a8db565833501a6f
Diffstat (limited to 'include')
-rw-r--r--include/asterisk/rtp_engine.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asterisk/rtp_engine.h b/include/asterisk/rtp_engine.h
index d030bdb19..3ceac8467 100644
--- a/include/asterisk/rtp_engine.h
+++ b/include/asterisk/rtp_engine.h
@@ -120,6 +120,8 @@ enum ast_rtp_property {
AST_RTP_PROPERTY_STUN,
/*! Enable RTCP support */
AST_RTP_PROPERTY_RTCP,
+ /*! Enable Asymmetric RTP Codecs */
+ AST_RTP_PROPERTY_ASYMMETRIC_CODEC,
/*!
* \brief Maximum number of RTP properties supported