From c4f201cd738bacc0cabd29cc75ab29103ed8a84b Mon Sep 17 00:00:00 2001 From: Torrey Searle Date: Fri, 28 Jul 2017 14:53:44 +0200 Subject: 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 --- include/asterisk/rtp_engine.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') 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 -- cgit v1.2.3