252 |
252 |
253 // Do jitter calculations |
253 // Do jitter calculations |
254 if ( iJitCalc->IsObserving() ) |
254 if ( iJitCalc->IsObserving() ) |
255 { |
255 { |
256 iJitCalc->RtpPacketReceived( aHeaderInfo.iTimestamp, |
256 iJitCalc->RtpPacketReceived( aHeaderInfo.iTimestamp, |
257 aHeaderInfo.iMarker, |
257 aHeaderInfo.iMarker ); |
258 aHeaderInfo.iSeqNum ); |
|
259 } |
258 } |
260 |
259 |
261 // First packet after SourcePlayL, notify event handler by sending |
260 // First packet after SourcePlayL, notify event handler by sending |
262 // the event. |
261 // the event. |
263 if ( !iDlStreamStarted ) |
262 if ( !iDlStreamStarted ) |
850 |
849 |
851 // ----------------------------------------------------------------------------- |
850 // ----------------------------------------------------------------------------- |
852 // CMccRtpDataSource::SendJitterEvent() |
851 // CMccRtpDataSource::SendJitterEvent() |
853 // ----------------------------------------------------------------------------- |
852 // ----------------------------------------------------------------------------- |
854 // |
853 // |
855 void CMccRtpDataSource::SendJitterEvent( TMccRtpEventDataExtended aEvent, TInt aError ) |
854 void CMccRtpDataSource::SendJitterEvent( TMccRtpEventData aEvent, TInt aError ) |
856 { |
855 { |
857 TRACE_RTP_SOURCE_PRINT( "CMccRtpDataSource::SendJitterEvent" ) |
856 TRACE_RTP_SOURCE_PRINT( "CMccRtpDataSource::SendJitterEvent" ) |
858 |
857 |
859 SendJitterEventToClient( iEventHandler, |
858 SendInternalRtpEventToClient( iEventHandler, |
860 KMccRtpSourceUid, |
859 KMccRtpSourceUid, |
861 EMccInternalJitterEventStatusReport, |
860 EMccInternalJitterEventStatusReport, |
862 KMccMediaQualityStatus, |
861 KMccMediaQualityStatus, |
863 MCC_RTPSOURCE_ENDPOINT_ID, |
862 MCC_RTPSOURCE_ENDPOINT_ID, |
864 aError, |
863 aError, |
865 aEvent.iJitterEstimate, |
864 aEvent.iJitterEstimate, |
866 aEvent.iPacketsReceived, |
865 aEvent.iPacketsReceived, |
867 aEvent.iPrevTransTime, |
866 aEvent.iPrevTransTime, |
868 aEvent.iTriggeredJitterLevel, |
867 aEvent.iTriggeredJitterLevel ); |
869 aEvent.iPacketLoss, |
|
870 aEvent.iTriggeredPacketLoss ); |
|
871 } |
868 } |
872 |
869 |
873 // ----------------------------------------------------------------------------- |
870 // ----------------------------------------------------------------------------- |
874 // CMccRtpDataSource::SourceCustomCommand() |
871 // CMccRtpDataSource::SourceCustomCommand() |
875 // |
872 // |