summaryrefslogtreecommitdiff
path: root/include/asterisk
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2015-11-24 08:20:52 -0600
committerGerrit Code Review <gerrit2@gerrit.digium.api>2015-11-24 08:20:52 -0600
commit3f85a1be5aff186e56fda85ae293e3aadc71d20a (patch)
treee69672787fdf5712e290b9ddceba6166c6ca4deb /include/asterisk
parentba7665b0701cb4e43189bc4c51c3335966311add (diff)
parent0b508789ab225f57e22bce93e243e9d642a73191 (diff)
Merge "translate: Provide translation modules the result of SDP negotiation." into 13
Diffstat (limited to 'include/asterisk')
-rw-r--r--include/asterisk/translate.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/asterisk/translate.h b/include/asterisk/translate.h
index e8e4c02d2..e2a4f300f 100644
--- a/include/asterisk/translate.h
+++ b/include/asterisk/translate.h
@@ -223,6 +223,14 @@ struct ast_trans_pvt {
struct ast_trans_pvt *next; /*!< next in translator chain */
struct timeval nextin;
struct timeval nextout;
+ /*! If a translation path using a format with attributes requires the output
+ * to be a specific set of attributes, this variable will be set describing
+ * those attributes to the translator. Otherwise, the translator must choose
+ * a set of format attributes for the destination that preserves the quality
+ * of the audio in the best way possible. For example with the Opus Codec,
+ * explicit_dst contains an attribute which describes whether both parties
+ * want to do forward-error correction (FEC). */
+ struct ast_format *explicit_dst;
};
/*! \brief generic frameout function */