multimediacommscontroller/mmccinterface/src/mmcccodecinformationfactory.cpp
branchrcs
changeset 49 64c62431ac08
parent 0 1bce908db942
--- a/multimediacommscontroller/mmccinterface/src/mmcccodecinformationfactory.cpp	Mon Aug 23 17:50:26 2010 +0300
+++ b/multimediacommscontroller/mmccinterface/src/mmcccodecinformationfactory.cpp	Mon Sep 06 17:32:13 2010 +0530
@@ -32,6 +32,7 @@
 #include "mmcccodecdtmf.h"
 #include "mmcccodeccn.h"
 #include "mmcccodecamrwb.h"
+#include "mmcccodecmsrp.h"
 
 
 // ============================= LOCAL FUNCTIONS ===============================
@@ -137,6 +138,11 @@
         codec = CMccCodecCn::NewL();
         CleanupStack::PushL( codec );
         }
+    else if( !aSdpName.CompareF( KMSRPSdpName ) )
+        {
+        codec = CMccCodecMsrp::NewL();
+        CleanupStack::PushL( codec );
+        }
     else
         {
         User::Leave( KErrNotSupported );
@@ -195,6 +201,11 @@
         {
         codec = CMccCodecCn::NewL();
         }
+    else if ( aFourCC == KMccFourCCIdMSRP )
+        {
+        codec =  CMccCodecMsrp::NewL();
+        }
+
     else
         {
         User::Leave( KErrNotSupported );