equal
deleted
inserted
replaced
172 * Configures the source/sink |
172 * Configures the source/sink |
173 * @since Series 60 3.0 |
173 * @since Series 60 3.0 |
174 * @param aConfig Configuration |
174 * @param aConfig Configuration |
175 * @return void |
175 * @return void |
176 */ |
176 */ |
177 virtual void ConfigureL( const TDesC8& aConfig ); |
177 virtual void ConfigureL( const TDesC8& aConfig, CMccRtpMediaClock* aRtpMediaClock ); |
178 |
178 |
179 /** |
179 /** |
180 * Sends RTCP receiver report to uplink if possible. |
180 * Sends RTCP receiver report to uplink if possible. |
181 * @param aStreamId - [input] Stream ID identifying stream |
181 * @param aStreamId - [input] Stream ID identifying stream |
182 * @return One of the standard system-wide error codes. |
182 * @return One of the standard system-wide error codes. |
262 inline MMccRtpInterface() : iRtpAPI( NULL ), iSessionID( KNullId ), |
262 inline MMccRtpInterface() : iRtpAPI( NULL ), iSessionID( KNullId ), |
263 iState( ERtpStateConstructed ), iEnableRtcp( EFalse ), |
263 iState( ERtpStateConstructed ), iEnableRtcp( EFalse ), |
264 iEventHandler( NULL ), iCodecInfo(), iMccStreamId( 0 ), |
264 iEventHandler( NULL ), iCodecInfo(), iMccStreamId( 0 ), |
265 iMccEvent( TMccEvent() ), iRtpKeepalive( NULL ), iContext( NULL), |
265 iMccEvent( TMccEvent() ), iRtpKeepalive( NULL ), iContext( NULL), |
266 iSecSession( NULL ), iSrtpStream( NULL ), iRtpMediaClock( NULL ), |
266 iSecSession( NULL ), iSrtpStream( NULL ), iRtpMediaClock( NULL ), |
267 iContextId( 0 ) |
267 iContextId( 0 ), |
|
268 iRtpKeepaliveUpdatePending( ETrue ) |
268 { } |
269 { } |
269 |
270 |
270 |
271 |
271 /** |
272 /** |
272 * Checks the given buffer if it is supported. Leaves with KErrNoMemory |
273 * Checks the given buffer if it is supported. Leaves with KErrNoMemory |
305 { |
306 { |
306 return iState; |
307 return iState; |
307 } |
308 } |
308 |
309 |
309 void CloseStreams(); |
310 void CloseStreams(); |
|
311 |
|
312 void SendJitterEventToClient( MAsyncEventHandler* aEventHandler, |
|
313 TUid aEventOriginator, |
|
314 TMccInternalEventType aInternalEventType, |
|
315 TMccEventType aEventType, |
|
316 TUint32 aEndpointId, |
|
317 TInt aError = KErrNone, |
|
318 TUint64 aJitterEstimate = 0, |
|
319 TUint32 aPacketsReceived = 0, |
|
320 TInt64 aPrevTransTime = 0, |
|
321 TUint64 aTriggeredJitterLevel = 0, |
|
322 TInt aPacketLoss = 0, |
|
323 TInt aTriggeredPacketLoss = 0 ); |
310 |
324 |
311 void SendInternalRtpEventToClient( MAsyncEventHandler* aEventHandler, |
325 void SendInternalRtpEventToClient( MAsyncEventHandler* aEventHandler, |
312 TUid aEventOriginator, |
326 TUid aEventOriginator, |
313 TMccInternalEventType aInternalEventType, |
327 TMccInternalEventType aInternalEventType, |
314 TMccEventType aEventType, |
328 TMccEventType aEventType, |
449 |
463 |
450 /* |
464 /* |
451 * Context identifier |
465 * Context identifier |
452 */ |
466 */ |
453 TUint32 iContextId; |
467 TUint32 iContextId; |
454 |
468 |
|
469 /* |
|
470 * Indicates need for setting media clock for keepalivetimer. |
|
471 */ |
|
472 TBool iRtpKeepaliveUpdatePending; |
|
473 |
455 private: // Friend classes |
474 private: // Friend classes |
456 |
475 |
457 #ifdef TEST_EUNIT |
476 #ifdef TEST_EUNIT |
458 friend class UT_CMccRtpInterface; |
477 friend class UT_CMccRtpInterface; |
459 #endif |
478 #endif |