summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTorrey Searle <torrey@voxbone.com>2017-07-28 14:53:44 +0200
committerTorrey Searle <torrey@voxbone.com>2017-08-04 10:38:12 +0200
commitc4f201cd738bacc0cabd29cc75ab29103ed8a84b (patch)
tree7886cbb91741a076c5f082b37674aebce1938367 /include
parented1bce956e30d9f8ec8defcbae33ea3217dd8fb6 (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 f9bdc508c..0b29f3485 100644
--- a/include/asterisk/rtp_engine.h
+++ b/include/asterisk/rtp_engine.h
@@ -114,6 +114,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