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

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Mon Aug 16 11:26:53 CDT 2010


branch "master" has been updated
       via  c410424289adc1dde3589a9bef4d3d25f75bba30 (commit)
      from  49fdc431aec2f9335f386125e76ea2ab77802187 (commit)

Summary of changes:
 Media/RTP/MediaRTPIf.ice |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)


- Log -----------------------------------------------------------------
commit c410424289adc1dde3589a9bef4d3d25f75bba30
Author: Joshua Colp <jcolp at digium.com>
Date:   Mon Aug 16 13:38:31 2010 -0300

    Add a method which pushes arbitrary payload and media format mappings into the RTP session.

diff --git a/Media/RTP/MediaRTPIf.ice b/Media/RTP/MediaRTPIf.ice
index 751c92b..4b0ca14 100644
--- a/Media/RTP/MediaRTPIf.ice
+++ b/Media/RTP/MediaRTPIf.ice
@@ -81,11 +81,23 @@ module V1
 	};
 
 	/**
+	 * A dictionary mapping payloads to media formats.
+	 */
+	dictionary<int, MediaFormat> PayloadMap;
+
+	/**
 	 * Interface to an RTP media session.
 	 */
 	interface RTPSession extends Hydra::Media::V1::Session
 	{
 		/**
+		 * Method which associates payloads and media formats.
+		 *
+		 * @param mappings The payload and media format mappings.
+		 */
+		void associatePayloads(PayloadMap mappings);
+
+		/**
 		 * Method which enables or disables RTCP on the RTP session.
 		 *
 		 * @param enable A boolean value with true meaning RTCP should be used and false meaning it should not.

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


-- 
asterisk-scf/integration/slice.git



More information about the asterisk-scf-commits mailing list