[asterisk-scf-commits] asterisk-scf/integration/slice.git branch "udptl" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Mon Sep 19 09:34:21 CDT 2011


branch "udptl" has been updated
       via  9a8fcba6797d0d3a2b776791c352cc8a27d02b62 (commit)
      from  7d6522817a8647aff546751ffbe03fae5d98b1ac (commit)

Summary of changes:
 slice/AsteriskSCF/Media/Formats/T38UdptlFormat.ice |  116 ++++++++++++++++++++
 1 files changed, 116 insertions(+), 0 deletions(-)
 create mode 100644 slice/AsteriskSCF/Media/Formats/T38UdptlFormat.ice


- Log -----------------------------------------------------------------
commit 9a8fcba6797d0d3a2b776791c352cc8a27d02b62
Author: Joshua Colp <jcolp at digium.com>
Date:   Mon Sep 19 11:40:46 2011 -0300

    Add a slice file for a T.38 UDPTL media format.

diff --git a/slice/AsteriskSCF/Media/Formats/T38UdptlFormat.ice b/slice/AsteriskSCF/Media/Formats/T38UdptlFormat.ice
new file mode 100644
index 0000000..0b7957d
--- /dev/null
+++ b/slice/AsteriskSCF/Media/Formats/T38UdptlFormat.ice
@@ -0,0 +1,116 @@
+/*
+ * Asterisk SCF -- An open-source communications framework.
+ *
+ * Copyright (C) 2011, Digium, Inc.
+ *
+ * See http://www.asterisk.org for more information about
+ * the Asterisk SCF project. Please do not directly contact
+ * any of the maintainers of this project for assistance;
+ * the project provides a web site, mailing lists and IRC
+ * channels for your use.
+ *
+ * This program is free software, distributed under the terms of
+ * the GNU General Public License Version 2. See the LICENSE.txt file
+ * at the top of the source tree.
+ */
+
+#include <AsteriskSCF/Media/MediaIf.ice>
+#include <AsteriskSCF/Media/UDPTL/MediaUDPTLIf.ice>
+
+module AsteriskSCF
+{
+
+module Media
+{
+
+module Formats
+{
+
+module T38Udptl
+{
+
+["suppress"]
+module V1
+{
+    /**
+     * String representation of the version of this interface
+     */
+    const string Version = "V1";
+
+    /**
+     * Various fax rates
+     */
+    enum Rate
+    {
+        RATE_2400,
+        RATE_4800,
+        RATE_7200,
+        RATE_9600,
+        RATE_12000,
+        RATE_14400,
+    };
+
+    /**
+     * Rate management options
+     */
+    enum RateManagement
+    {
+        TRANSFERRED_TCF,
+        LOCAL_TCF,
+    };
+
+    /**
+     * T.38 UDPTL Media Format 
+     */
+    unsliceable class T38UdptlFormat extends AsteriskSCF::Media::V1::Format
+    {
+        /**
+         * T.38 version
+         */
+        int version = 1;
+
+        /**
+         * Maximum datagram size
+         */
+        int maxDatagram = 1400;
+
+        /**
+         * Maximum rate
+         */
+        Rate faxRate = RATE_9600;
+
+        /**
+         * Rate management option
+         */
+        RateManagement faxRateManagement = TRANSFERRED_TCF;
+
+        /**
+         * Error correction scheme setting
+         */
+        AsteriskSCF::Media::UDPTL::V1::ErrorCorrectionScheme errorCorrection = AsteriskSCF::Media::UDPTL::V1::FEC;
+
+        /**
+         * Whether fill bit removal is enabled.
+         */
+        bool fillBitRemoval = false;
+
+        /**
+         * Whether transcoding MMR is being used.
+         */
+        bool transcodingMmr = false;
+
+        /**
+         * Whether transcoding Jbig is being used.
+         */
+        bool transcodingJbig = false;
+    };
+
+}; /*  end module V1 */
+
+}; /*  end module T38Udptl */
+
+}; /*  end module Formats */
+
+}; /*  end module Media */
+
+}; /*  end module AsteriskSCF */

-----------------------------------------------------------------------


-- 
asterisk-scf/integration/slice.git



More information about the asterisk-scf-commits mailing list