summaryrefslogtreecommitdiff
path: root/include/asterisk
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:34:19 -0500
commitfa9e0fa9320cda79634620ac6c543d99965fadbf (patch)
treec9e7babe6c8a9b945aeceea28d2b0c553351352b /include/asterisk
parent2c23f8719e5a0b5d0fd5a7fd22e9b613a5bcb98a (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/asterisk')
-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 e08738ef9..663226181 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