[svn-commits] rmudgett: branch rmudgett/iax_fracks r420087 - /team/rmudgett/iax_fracks/chan...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Aug 5 14:29:29 CDT 2014


Author: rmudgett
Date: Tue Aug  5 14:29:27 2014
New Revision: 420087

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=420087
Log:
chan_iax2: Add Opus and VP8 preference order table entries.

Modified:
    team/rmudgett/iax_fracks/channels/iax2/codec_pref.c

Modified: team/rmudgett/iax_fracks/channels/iax2/codec_pref.c
URL: http://svnview.digium.com/svn/asterisk/team/rmudgett/iax_fracks/channels/iax2/codec_pref.c?view=diff&rev=420087&r1=420086&r2=420087
==============================================================================
--- team/rmudgett/iax_fracks/channels/iax2/codec_pref.c (original)
+++ team/rmudgett/iax_fracks/channels/iax2/codec_pref.c Tue Aug  5 14:29:27 2014
@@ -316,6 +316,9 @@
 
 /*!
  * \brief Formats supported by IAX2.
+ *
+ * \note All AST_FORMAT_xxx compatibility bit defines must be
+ *  represented here.
  *
  * \note The order is important because the array index+1 values
  * go out over the wire.
@@ -349,7 +352,18 @@
 	AST_FORMAT_SIREN14,
 	AST_FORMAT_TESTLAW,
 	AST_FORMAT_G719,
+	0, /* Place holder needed because of blunder when adding Opus and VP8. */
+	0, /* Place holder needed because of blunder when adding Opus and VP8. */
+	0, /* Place holder needed because of blunder when adding Opus and VP8. */
+	0, /* Place holder needed because of blunder when adding Opus and VP8. */
+	0, /* Place holder needed because of blunder when adding Opus and VP8. */
+	0, /* Place holder needed because of blunder when adding Opus and VP8. */
+	0, /* Place holder needed because of blunder when adding Opus and VP8. */
+	0, /* Place holder needed because of blunder when adding Opus and VP8. */
+	AST_FORMAT_OPUS,
+	AST_FORMAT_VP8,
 	/* ONLY ADD TO THE END OF THIS LIST */
+	/* XXX Use up the place holder slots first. */
 };
 
 uint64_t iax2_codec_pref_order_value_to_format_bitfield(int order_value)




More information about the svn-commits mailing list