--- a/multimediacommscontroller/mmcccontroller/src/mcccontroller.cpp Mon Aug 23 17:50:26 2010 +0300
+++ b/multimediacommscontroller/mmcccontroller/src/mcccontroller.cpp Mon Sep 06 17:32:13 2010 +0530
@@ -874,6 +874,9 @@
case EMccSetRemoteRtcpAddr:
SetRemoteRtcpAddrL( aMessage );
break;
+ case EMccSetRemoteMsrpPath:
+ SetRemoteMsrpPathL( aMessage );
+ break;
case EMccCloseSession:
CloseSessionL( aMessage );
break;
@@ -1080,6 +1083,8 @@
AddCodec( KMccFourCCIdILBC, outCodecs, inCodecs, codecs, index++ );
AddCodec( KMccFourCCIdG729, outCodecs, inCodecs, codecs, index++ );
// Not in CMMFDevSound's list
+ //MSRP
+ codecs[ index++ ] = TFourCC( KMccFourCCIdMSRP );
codecs[ index++ ] = TFourCC( KMccFourCCIdDTMF );
codecs[ index++ ] = TFourCC( KMccFourCCIdRed );
codecs[ index++ ] = TFourCC( KMccFourCCIdCN );
@@ -1270,6 +1275,24 @@
}
// -----------------------------------------------------------------------------
+// CMccController::SetRemoteMsrpPathL
+// Sets remote address
+// -----------------------------------------------------------------------------
+//
+void CMccController::SetRemoteMsrpPathL( TMMFMessage& aMessage )
+ {
+ __CONTROLLER( "CMccController::SetRemoteMsrpPathL" )
+ TMccAddressPckg pckg;
+ aMessage.ReadData1FromClientL( pckg );
+
+ TInt session = FindSessionL( pckg().iSessionID );
+
+ iSessionArray[session]->SetRemoteMsrpPathL( pckg().iRemoteMsrpPath,
+ pckg().iConnStatus, pckg().iLinkID );
+ __CONTROLLER( "CMccController::SetRemoteMsrpPathL, exit" )
+ }
+
+// -----------------------------------------------------------------------------
// CMccController::SendMccEventToClient
// Enqueues MccEvent to eventbuffer and sends it to client
// -----------------------------------------------------------------------------