multimediacommscontroller/mmccrtpsourcesink/inc/mccrtpinterface.h
branchRCL_3
changeset 18 817c922b90eb
parent 0 1bce908db942
--- a/multimediacommscontroller/mmccrtpsourcesink/inc/mccrtpinterface.h	Thu Jul 15 19:04:32 2010 +0300
+++ b/multimediacommscontroller/mmccrtpsourcesink/inc/mccrtpinterface.h	Thu Aug 19 10:18:22 2010 +0300
@@ -174,7 +174,7 @@
         * @param aConfig Configuration
         * @return void
         */
-        virtual void ConfigureL( const TDesC8& aConfig );
+        virtual void ConfigureL( const TDesC8& aConfig, CMccRtpMediaClock* aRtpMediaClock );
         
         /**
         * Sends RTCP receiver report to uplink if possible.
@@ -264,7 +264,8 @@
             iEventHandler( NULL ), iCodecInfo(), iMccStreamId( 0 ), 
             iMccEvent( TMccEvent() ), iRtpKeepalive( NULL ), iContext( NULL), 
             iSecSession( NULL ), iSrtpStream( NULL ), iRtpMediaClock( NULL ),
-            iContextId( 0 )
+            iContextId( 0 ),
+			iRtpKeepaliveUpdatePending( ETrue )
             { }
             
             
@@ -308,6 +309,19 @@
         
         void CloseStreams();
         
+        void SendJitterEventToClient( 	MAsyncEventHandler* aEventHandler,
+                                        TUid aEventOriginator,
+                                        TMccInternalEventType aInternalEventType,
+                                        TMccEventType aEventType,
+                                        TUint32 aEndpointId,
+                                        TInt aError = KErrNone, 
+                                        TUint64 aJitterEstimate = 0,
+                                        TUint32 aPacketsReceived = 0,
+                                        TInt64 aPrevTransTime = 0,
+                                        TUint64 aTriggeredJitterLevel = 0,
+        								TInt aPacketLoss = 0,
+        								TInt aTriggeredPacketLoss = 0 );
+        
         void SendInternalRtpEventToClient( MAsyncEventHandler* aEventHandler,
                                            TUid aEventOriginator,
                                            TMccInternalEventType aInternalEventType,
@@ -451,7 +465,12 @@
          * Context identifier
          */
          TUint32 iContextId;
-
+       
+	   /*
+         * Indicates need for setting media clock for keepalivetimer. 
+         */
+		TBool iRtpKeepaliveUpdatePending;	 
+		 
     private:    // Friend classes
     
         #ifdef TEST_EUNIT