CSRTPStream Class Reference

class CSRTPStream : public CBase

Represents an SRTP stream.

Inherits from

Constructor & Destructor Documentation

CSRTPStream(CSRTPSession &, const TUint, TBool)

CSRTPStream ( CSRTPSession & aSession,
const TUint aSSRC,
TBool aStreamType
) [protected]

Parameters

CSRTPSession & aSession
const TUint aSSRC
TBool aStreamType

CSRTPStream(CSRTPSession &, TUint, CSRTPCryptoContext *, MSRTPReKeyingObserver &, TBool)

CSRTPStream ( CSRTPSession & aSession,
TUint aSSRC,
CSRTPCryptoContext * aCon,
MSRTPReKeyingObserver & aObs,
TBool aStreamType
) [protected]

Parameters

CSRTPSession & aSession
TUint aSSRC
CSRTPCryptoContext * aCon
MSRTPReKeyingObserver & aObs
TBool aStreamType

CSRTPStream(CSRTPSession &, TBool)

CSRTPStream ( CSRTPSession & aSession,
TBool aStreamType
) [protected]

Parameters

CSRTPSession & aSession
TBool aStreamType

CSRTPStream(CSRTPSession &, CSRTPCryptoContext *, MSRTPReKeyingObserver &, TBool)

CSRTPStream ( CSRTPSession & aSession,
CSRTPCryptoContext * aCon,
MSRTPReKeyingObserver & aObs,
TBool aStreamType
) [protected]

Parameters

CSRTPSession & aSession
CSRTPCryptoContext * aCon
MSRTPReKeyingObserver & aObs
TBool aStreamType

CSRTPStream(CSRTPSession &, TUint, MSRTPReKeyingObserver &, TBool)

CSRTPStream ( CSRTPSession & aSession,
TUint aSSRC,
MSRTPReKeyingObserver & aObs,
TBool aStreamType
) [protected]

Parameters

CSRTPSession & aSession
TUint aSSRC
MSRTPReKeyingObserver & aObs
TBool aStreamType

CSRTPStream(CSRTPSession &, MSRTPReKeyingObserver &, TBool)

CSRTPStream ( CSRTPSession & aSession,
MSRTPReKeyingObserver & aObs,
TBool aStreamType
) [protected]

Parameters

CSRTPSession & aSession
MSRTPReKeyingObserver & aObs
TBool aStreamType

~CSRTPStream()

~CSRTPStream ( )

Destructor

Member Functions Documentation

CreateCryptoHandlerSRTCPL()

void CreateCryptoHandlerSRTCPL ( ) [protected]

Create RTCP crypto handler

CreateCryptoHandlerSRTPL()

void CreateCryptoHandlerSRTPL ( ) [protected]

Create RTP crypto handler

GetCryptoContext()

CSRTPCryptoContext & GetCryptoContext ( )

Get cryptographic context associated for this stream or the one associated for the session

IsContextSet()

TBool IsContextSet ( )

Check if crypto context has been set

KeyExpired()

void KeyExpired ( )

Call for KeyExpired

ROC()

IMPORT_C TUint32 ROC ( ) const

Get roll-over counter value.

ReKeyNeeded()

void ReKeyNeeded ( )

Call for Rekey

SSRC()

IMPORT_C TUint SSRC ( ) const

Get SSRC

SetROC(TUint32)

IMPORT_C void SetROC ( TUint32 aROC )

Set roll-over counter value. RFC 3711 3.3.1 ROC() can not be reset to 0 after Re-Key

Parameters

TUint32 aROC The new ROC value.

SetSSRC(const TUint)

void SetSSRC ( const TUint aSSRC )

Set SSRC value if the stream's SSRC is 0 as late binding

Parameters

const TUint aSSRC The new SSRC value.

StreamType()

IMPORT_C TBool StreamType ( )

Tell stream type is InStream or OutStream

UpdateCryptoAndStatesL()

void UpdateCryptoAndStatesL ( ) [pure virtual]
Delete the existed crypto context and re-initial the states
leave
KErrNone if success, system-wide error code otherwise

UpdateCryptoHandlerL()

void UpdateCryptoHandlerL ( ) [protected]

Delete the existed crypto handler and create a new one

Member Data Documentation

CSRTPCryptoContext * iContext

CSRTPCryptoContext * iContext [protected]

CSRTPCryptoHandlerSRTCP * iHandlerRTCP

CSRTPCryptoHandlerSRTCP * iHandlerRTCP [protected]

CSRTPCryptoHandlerSRTP * iHandlerRTP

CSRTPCryptoHandlerSRTP * iHandlerRTP [protected]

TBool iIsStreamInType

TBool iIsStreamInType [protected]

MSRTPReKeyingObserver * iObserver

MSRTPReKeyingObserver * iObserver [protected]

TUint32 iROC

TUint32 iROC [protected]

TBool iRekey

TBool iRekey [protected]

TUint iSSRC

TUint iSSRC [protected]

CSRTPSession & iSession

CSRTPSession & iSession [protected]

TSglQueLink iStreamLink

TSglQueLink iStreamLink

iStreamLink, Link to list.

const TInt iStreamOffset

const TInt iStreamOffset [static]

iStreamOffset, List offset.

TBool iStrmSpecificCrypto

TBool iStrmSpecificCrypto [protected]