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
This commit is contained in:
Torrey Searle
2017-07-28 14:53:44 +02:00
parent ed1bce956e
commit c4f201cd73
4 changed files with 36 additions and 8 deletions

View File

@@ -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