multimediacommscontroller/mmccsubcontroller/src/mccsymdlstream.cpp
branchRCL_3
changeset 59 b0e4b01681c5
parent 42 817c922b90eb
--- a/multimediacommscontroller/mmccsubcontroller/src/mccsymdlstream.cpp	Wed Sep 15 12:38:06 2010 +0300
+++ b/multimediacommscontroller/mmccsubcontroller/src/mccsymdlstream.cpp	Wed Oct 13 14:59:15 2010 +0300
@@ -49,8 +49,7 @@
     MAsyncEventHandler* aEventhandler, 
     MMccResources* aMccResources, 
     CMccRtpManager* aManager, 
-    TInt aStreamType,
-    CMccRtpMediaClock& aClock ) : 
+    TInt aStreamType ) : 
     CMccSymStreamBase( aMccStreamId, 
                        aEventhandler, 
                        aMccResources, 
@@ -59,7 +58,6 @@
     iJitterBuffer( NULL ), 
     iFormatDecode( NULL )
     {
-    iRtpMediaClock = &aClock;
     }
 
 // -----------------------------------------------------------------------------
@@ -72,16 +70,14 @@
     MAsyncEventHandler* aEventhandler, 
     MMccResources* aMccResources,
     CMccRtpManager* aManager, 
-    TInt aStreamType,
-    CMccRtpMediaClock& aClock ) 
+    TInt aStreamType ) 
     {
     CMccSymDlStream* s = 
             new ( ELeave ) CMccSymDlStream( aMccStreamId, 
                                             aEventhandler, 
                                             aMccResources,
                                             aManager, 
-                                            aStreamType,
-                                            aClock );
+                                            aStreamType );
     CleanupStack::PushL( s );
     s->ConstructL();
     return s;
@@ -265,10 +261,6 @@
     else if ( CurrentCodecState() == EStateCodecLoaded ||
               CurrentCodecState() == EStateCodecLoadedAndUpdating )
         {
-        iJitterBuffer->SetupL( iCodecInfo.iMaxPtime, 
-                       		   iCodecInfo.iJitterBufThreshold, 
-                       		   iCodecInfo );
-        
         // Update codec info
         if ( iDatasource->DataSourceType() == KMccRtpSourceUid )
        	    {
@@ -277,7 +269,7 @@
             
             // For updating keep alive parameters
             TMccCodecInfoBuffer infoBuffer( iCodecInfo );     
-            dataSource->ConfigureL( infoBuffer, iRtpMediaClock );
+            dataSource->ConfigureL( infoBuffer );
        	    }
         SetCodecState( EStateCodecLoadedAndUpdating );
     	UpdateCodecInformationL( orig, iCodecInfo );