MSRTPReKeyingObserver Class Reference

class MSRTPReKeyingObserver

Provides a callback clients.

Public Member Functions
voidSRTPMasterKeyStaleEvent(const CSRTPStream &)
voidSRTPMasterKeyStaleEvent(const CSRTPSession &)

Member Functions Documentation

SRTPMasterKeyStaleEvent(const CSRTPStream &)

voidSRTPMasterKeyStaleEvent(const CSRTPStream &aStream)[pure virtual]

This function is called by SRTP Stream initiated with MSRTPReKeyingObserver when a master key is stale and needs to be refreshed. Re-Key will be triggered when SRTP index is (2^48)-1 and SRTCP index is (2^31)-1

Parameters

const CSRTPStream & aStreamStream which master key has to be refreshed

SRTPMasterKeyStaleEvent(const CSRTPSession &)

voidSRTPMasterKeyStaleEvent(const CSRTPSession &aSession)[pure virtual]

This function is called by SRTPSRTP Stream initiated with CSRTPSession when a master key is stale and needs to be refreshed. *

Parameters

const CSRTPSession & aSessionSession which master key has to be refreshed