CRtpSession Class Reference

class CRtpSession : public CBase

class for rtp session.

RtpService.dll

Inherits from

Public Member Functions
~CRtpSession()
voidCancelSend()
TBool CheckRemoteAddr()
TInt CheckRemoteSsrcL(TRtpSSRC &)
voidCloseStream(TRtpId)
TInt CreateReceiveStreamL(TRtpId, const TRtpPayloadType)
TInt CreateTransmitStreamExtL(TRtpId, const TRtpPayloadType, const TUint32)
TInt CreateTransmitStreamL(TRtpId, const TRtpPayloadType, TUint32 &)
RSocket *GetRtcpSocket()
RSocket *GetRtpSocket()
TRtpId GetSessionId()
TInt GetStreamStatistics(TRtpId, TRtpPeerStat &)
TInt IsRtcpSendingSuspended(TBool &)
TBool IsSrtp()
CRtpSession *NewL(const TCreateSessionParams &, TUint &, TBool, const TRtcpParams *, RSocketServ &, RConnection &, const TRtpId, const CRtpSDES *, const TUint32 *, const TBool, const RLibrary &, MRtpErrNotify &, MRtpAsignUniqueID &)
voidOnExpiredL(TInt)
voidOnPacketRejected(TPortType)
voidOnReceptionError(TPortType, TInt)
voidOnRtcpReceivedL()
voidOnRtpReceivedL()
TInt RegisterRtcpObserver(MRtcpObserver &)
TInt RegisterRtpObserver(MRtpObserver &)
voidResetRxStreamStats()
voidResetTxStreamStats()
TInt ResumeRtcpSending()
TRtpSSRC SSRC()
voidSendData(TBool, const TDesC8 &, TRequestStatus &)
TInt SendRtcpAppPacketL(TRtpId, const TRtcpApp &)
TInt SendRtcpByePacketL(TRtpId, const TDesC8 &)
TInt SendRtcpRrPacketL(TRtpId)
TInt SendRtcpSrPacketL(TRtpId)
TInt SendRtpPacket(TRtpId, const TRtpSendHeader &, const TDesC8 &)
TInt SendRtpPacket(TRtpId, const TRtpSendHeader &, const TDesC8 &, TRequestStatus &)
TInt SendRtpPacket(const TRtpSendHeader &, const TDesC8 &)
TInt SendRtpPacket(const TRtpSendHeader &, const TDesC8 &, TRequestStatus &)
TInt SendRtpPacket(TRtpId, TRtpSequence, const TRtpSendHeader &, const TDesC8 &, TRequestStatus &)
TInt SetNonRTPDataObserver(MNonRTPDataObserver *)
TInt SetRemoteAddress(TInetAddr &)
TInt SetRemoteRtcpAddress(TInetAddr &)
TInt SetRtcpParameters(const TRtcpParams &)
TInt StartSession()
TInt StopRtcpSending()
voidUnregisterRtcpObserver()
voidUnregisterRtpObserver()
Protected Member Functions
CRtpSession(const TRtpId, const TUint32 *, const TBool, MRtpErrNotify &, const CRtpSDES *, MRtpAsignUniqueID &)
voidAverageRtcpSize(TUint)
voidConstructL(const TCreateSessionParams &, TUint &, TBool, const TRtcpParams *, RSocketServ &, RConnection &, const RLibrary &, MRtpErrNotify &)
voidFindRtpRxStreamSSRC(TRtpSSRC &)
TInt FindStream(const TRtpId, TUint &)
TInt IssueRtcpRecv()
TInt IssueRtpRecv()
voidSendSRTCPReportL(TRtpSSRC)
Private Member Functions
TBool AddSdesToArrayL(TUint &, TRtpPacketIOParam *)
TInt AddStream(const TStream, TStreamType)
TBool AnyRcvStreamReceivedRtpPacket()
TInt AssignRtpRxStreamL()
voidBuildEmptyRr(CRtpTranStream *)
TInt BuildRTCPReport(CRtpTranStream *, TInt)
voidBuildRrSection(TInt, TBool, TInt)
voidBuildSdesSection(CRtpTranStream *)
voidBuildSendRTCPReportL()
voidBuildSrSection(CRtpTranStream *)
TBool CheckifBanded()
TBool CompareAndUpdateSdes(CRtpSDES *, TRtpPacketIOParam *, TBool)
voidCreateNewRecvStreamL()
voidCreateSDES(TInt, TRtpSSRC)
voidDeallocateMemoryForSdes(TRtpPacketIOParam *)
voidDetermineSourceCountAndLength(TInt &, TInt &, TBool)
CRtpSDES *DoAddSdesToArrayL(TRtpPacketIOParam *)
TBool DoBuildSendRTCPReportIfNotSentL()
voidDoBuildSendRTCPReportL()
TInt FindRtpRxStreamL()
TInt FindStream(const TRtpId, TUint &, TStreamType &)
TBool FindStreamForSSRC(TRtpSSRC)
TBool FindTxStreamForSSRC(TRtpSSRC, CRtpTranStream **)
TRtpSSRC GenerateSSRC()
CRtpRecvStream *GetRcvStreamByIndex(TInt)
TInt GetSDESFromSDESData(TRtpSdesParams *, const CRtpRecvStream *, CRtpSDES *)
TRtpSSRC GetUniqueSSRC()
TInt InitialiseRtcp(const TRtcpParams *)
TInt MatchSSRCToStream(TUint &, TRtpSSRC, TStreamType &)
voidNextRtcpInterval()
TRtpRtcpEnum ProcessAPPSectionL(TInt, TInt)
TRtpRtcpEnum ProcessBYESectionL()
TRtpRtcpEnum ProcessOneRTCPReportSectionL(const TRtpPacketIOParam &, TRtpSSRC)
TRtpRtcpEnum ProcessRRSectionL(TInt)
TRtpRtcpEnum ProcessRTCPReportL()
TRtpRtcpEnum ProcessSDESDataL(TRtpPacketStreamParam &, TRtpPacketIOParam &, TRtpSSRC)
TRtpRtcpEnum ProcessSDESSectionL(TRtpSSRC)
TRtpRtcpEnum ProcessSRSectionL(TInt)
TInt Random()
TReal Random64()
TBool RcvStreamActive(TInt)
TBool RcvStreamReceivedRtpPacket(TInt)
voidRedistributeBandwidth()
voidRemoveAllStreams()
TInt RemoveSdesFromArray(TRtpSSRC)
TInt RemoveStream(const TRtpId, TStreamType &)
voidScheduleRtcpSendL()
voidSendRTCPByewithBanedSSRCL()
voidSendRTCPReport()
voidSetParamsForFullRTCPReport(CRtpTranStream *, TRtpPacketStreamParam *, TRtpPacketIOParam *, TBool)
TBool ShouldBuildEmptyRR(CRtpTranStream *)
voidStartReceiveRtcpPacket()
voidStopReceiveRtcpPacket()
TInt StreamSendAPPPacket()
TInt StreamSendBYEPacket()
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
Public Member Enumerations
enumanonymous { ECallBack, ETimeOut }
enumTStreamType { ETxStream = 0, ERxStream }
Protected Attributes
MRtpAsignUniqueID &iAssignUniqueID
TReal iAverageRtcpSize
TUint iBandWidth
CRtpComm *iCommNet
MRtpErrNotify &iErrNotify
TBool iFPortsInit
TBool iFirstRTCPSent
TReal iFraction
TBool iIsSrtp
MNonRTPDataObserver *iNonRTPDataObserver
TUint16 iNumOfRxStreams
TUint16 iNumOfTxStreams
MRtpPacketExt *iPktExtRcv
MRtpPacketExt *iPktExtSnd
CRtpPacket *iPktRcv
CRtpPacket *iPktRtcpRcv
CRtpPacket *iPktRtcpSnd
CRtpPacket *iPktSnd
const TUint32 *iProfileRTPTimeRates
TBool iRtcpEnabled
TInt iRtcpErrors
MRtcpObserver *iRtcpObserver
TPtr8 iRtcpRecvBuf
TBool iRtcpSendingSuspended
TUint iRtcpTimeInterval
MRtpObserver *iRtpObserver
TPtr8 iRtpRecvBuf
RArray< TRtpSSRC >iRxSSRCArray
TInt iSSRCJumps
CArrayPtrFlat< CRtpSDES > *iSdesArray
TInt64 iSeed
TBool iSessionStarted
CRtpTimer *iSndRtcpTimer
CArrayFixFlat< TStream > *iStreamRxArray
CArrayFixFlat< TStream > *iStreamTxArray
TUint iTotalParticipantsSession
Private Attributes
TRtpSSRC iDefaultSSRC
const CRtpSDES *iLocalSdes
TRtpSdesParams *iNewSdes
TInetAddr iRemoteAddr
TBool iRemoteAddrSet
TInt iSendSdesCounter
TRtpId iSessionId
TBool iStandardRtp

Constructor & Destructor Documentation

CRtpSession(const TRtpId, const TUint32 *, const TBool, MRtpErrNotify &, const CRtpSDES *, MRtpAsignUniqueID &)

CRtpSession(const TRtpIdaSessionId,
const TUint32 *aProfileRTPTimeRates,
const TBoolaStandardRtp,
MRtpErrNotify &aErrNotify,
const CRtpSDES *aSdesInfo,
MRtpAsignUniqueID &aAssignUniqueID
)[protected]

Parameters

const TRtpId aSessionId
const TUint32 * aProfileRTPTimeRates
const TBool aStandardRtp
MRtpErrNotify & aErrNotify
const CRtpSDES * aSdesInfo
MRtpAsignUniqueID & aAssignUniqueID

~CRtpSession()

~CRtpSession()

Member Functions Documentation

AddSdesToArrayL(TUint &, TRtpPacketIOParam *)

TBool AddSdesToArrayL(TUint &aSdesAddress,
TRtpPacketIOParam *extractParam
)[private]

Parameters

TUint & aSdesAddress
TRtpPacketIOParam * extractParam

AddStream(const TStream, TStreamType)

TInt AddStream(const TStreamaArrayID,
TStreamTypeaStreamType
)[private]

Parameters

const TStream aArrayID
TStreamType aStreamType

AnyRcvStreamReceivedRtpPacket()

TBool AnyRcvStreamReceivedRtpPacket()[private]

AssignRtpRxStreamL()

TInt AssignRtpRxStreamL()[private]

AverageRtcpSize(TUint)

voidAverageRtcpSize(TUintaRtcpReportSize)[protected]

Parameters

TUint aRtcpReportSize

BuildEmptyRr(CRtpTranStream *)

voidBuildEmptyRr(CRtpTranStream *aTempTranStream)[private]

Parameters

CRtpTranStream * aTempTranStream

BuildRTCPReport(CRtpTranStream *, TInt)

TInt BuildRTCPReport(CRtpTranStream *tempStream,
TIntaLastReport
)[private]

Parameters

CRtpTranStream * tempStream
TInt aLastReport

BuildRrSection(TInt, TBool, TInt)

voidBuildRrSection(TIntaNumRcvStreams,
TBoolaRxActive,
TIntaLastReport
)[private]

Parameters

TInt aNumRcvStreams
TBool aRxActive
TInt aLastReport

BuildSdesSection(CRtpTranStream *)

voidBuildSdesSection(CRtpTranStream *aTempTranStream)[private]

Parameters

CRtpTranStream * aTempTranStream

BuildSendRTCPReportL()

voidBuildSendRTCPReportL()[private]

BuildSrSection(CRtpTranStream *)

voidBuildSrSection(CRtpTranStream *aTempTranStream)[private]

Parameters

CRtpTranStream * aTempTranStream

CancelSend()

voidCancelSend()

CheckRemoteAddr()

TBool CheckRemoteAddr()

CheckRemoteSsrcL(TRtpSSRC &)

TInt CheckRemoteSsrcL(TRtpSSRC &aSSRC)

Checks if a newly received SSRC collides with the SSRC's of the existing Tx streams in this session, and reacts appropriately. This is SSRC collision handling.

Parameters

TRtpSSRC & aSSRCa newly received SSRC

CheckifBanded()

TBool CheckifBanded()[private]

CloseStream(TRtpId)

voidCloseStream(TRtpIdaStreamId)

Parameters

TRtpId aStreamId

CompareAndUpdateSdes(CRtpSDES *, TRtpPacketIOParam *, TBool)

TBool CompareAndUpdateSdes(CRtpSDES *aTempSdes,
TRtpPacketIOParam *aExtractParam,
TBoolaUpdateCName
)[private]

Compares the specified SDES values with the ones in the parameters and updates the SDES where the values differ

Parameters

CRtpSDES * aTempSdesthe target SDES
TRtpPacketIOParam * aExtractParamthe parameters to compare with
TBool aUpdateCNameindicates whether to include the CName

ConstructL(const TCreateSessionParams &, TUint &, TBool, const TRtcpParams *, RSocketServ &, RConnection &, const RLibrary &, MRtpErrNotify &)

voidConstructL(const TCreateSessionParams &aParams,
TUint &aPort,
TBoolaEnableRtcp,
const TRtcpParams *aRtcpParams,
RSocketServ &aSocketServ,
RConnection &aRConn,
const RLibrary &aLibrary,
MRtpErrNotify &aErrNotify
)[protected]

Parameters

const TCreateSessionParams & aParams
TUint & aPort
TBool aEnableRtcp
const TRtcpParams * aRtcpParams
RSocketServ & aSocketServ
RConnection & aRConn
const RLibrary & aLibrary
MRtpErrNotify & aErrNotify

CreateNewRecvStreamL()

voidCreateNewRecvStreamL()[private]

CreateReceiveStreamL(TRtpId, const TRtpPayloadType)

TInt CreateReceiveStreamL(TRtpIdaStreamId,
const TRtpPayloadTypeaPayloadType
)

Parameters

TRtpId aStreamId
const TRtpPayloadType aPayloadType

CreateSDES(TInt, TRtpSSRC)

voidCreateSDES(TIntaFCNameOnly,
TRtpSSRCaSSRC
)[private]

Parameters

TInt aFCNameOnly
TRtpSSRC aSSRC

CreateTransmitStreamExtL(TRtpId, const TRtpPayloadType, const TUint32)

TInt CreateTransmitStreamExtL(TRtpIdaStreamId,
const TRtpPayloadTypeaPayloadType,
const TUint32aSSRC
)

Parameters

TRtpId aStreamId
const TRtpPayloadType aPayloadType
const TUint32 aSSRC

CreateTransmitStreamL(TRtpId, const TRtpPayloadType, TUint32 &)

TInt CreateTransmitStreamL(TRtpIdaStreamId,
const TRtpPayloadTypeaPayloadType,
TUint32 &aSSRC
)

Parameters

TRtpId aStreamId
const TRtpPayloadType aPayloadType
TUint32 & aSSRC

DeallocateMemoryForSdes(TRtpPacketIOParam *)

voidDeallocateMemoryForSdes(TRtpPacketIOParam *aParam)[private]

Parameters

TRtpPacketIOParam * aParam

DetermineSourceCountAndLength(TInt &, TInt &, TBool)

voidDetermineSourceCountAndLength(TInt &aSourceCount,
TInt &aLength,
TBoolaRxActive
)[private]

Determines the source count and length before an RTCP report is sent

Parameters

TInt & aSourceCountreference to the source count variable to update
TInt & aLengthreference to the packet length variable to update
TBool aRxActivea list of active/not active streams

DoAddSdesToArrayL(TRtpPacketIOParam *)

CRtpSDES *DoAddSdesToArrayL(TRtpPacketIOParam *aExtractParam)[private]

Parameters

TRtpPacketIOParam * aExtractParam

DoBuildSendRTCPReportIfNotSentL()

TBool DoBuildSendRTCPReportIfNotSentL()[private]

DoBuildSendRTCPReportL()

voidDoBuildSendRTCPReportL()[private]

FindRtpRxStreamL()

TInt FindRtpRxStreamL()[private]

FindRtpRxStreamSSRC(TRtpSSRC &)

voidFindRtpRxStreamSSRC(TRtpSSRC &aSSRC)[protected]

Parameters

TRtpSSRC & aSSRC

FindStream(const TRtpId, TUint &)

TInt FindStream(const TRtpIdaMagicKey,
TUint &aStreamAddress
)[protected]

Parameters

const TRtpId aMagicKey
TUint & aStreamAddress

FindStream(const TRtpId, TUint &, TStreamType &)

TInt FindStream(const TRtpIdaMagicKey,
TUint &aStreamAddress,
TStreamType &aStreamType
)[private]

Parameters

const TRtpId aMagicKey
TUint & aStreamAddress
TStreamType & aStreamType

FindStreamForSSRC(TRtpSSRC)

TBool FindStreamForSSRC(TRtpSSRCaSSRC)[private]

Parameters

TRtpSSRC aSSRC

FindTxStreamForSSRC(TRtpSSRC, CRtpTranStream **)

TBool FindTxStreamForSSRC(TRtpSSRCaSSRC,
CRtpTranStream **streamPointerPointer
)[private]

Finds if a send stream is already using the given SSRC

Parameters

TRtpSSRC aSSRCthe synchronisation source value
CRtpTranStream ** streamPointerPointer

GenerateSSRC()

TRtpSSRC GenerateSSRC()[private]

GetRcvStreamByIndex(TInt)

CRtpRecvStream *GetRcvStreamByIndex(TIntaIndex)[private]

Parameters

TInt aIndex

GetRtcpSocket()

RSocket *GetRtcpSocket()

GetRtpSocket()

RSocket *GetRtpSocket()

GetSDESFromSDESData(TRtpSdesParams *, const CRtpRecvStream *, CRtpSDES *)

TInt GetSDESFromSDESData(TRtpSdesParams *aTargetSdes,
const CRtpRecvStream *aRecvStream,
CRtpSDES *aSourceSdes
)[private]

Gets the SDES values from the data contained in an SDES section. Either aRecvStream or aSourceSdes is always NULL.

Parameters

TRtpSdesParams * aTargetSdesthe SDES in which the data will be stored
const CRtpRecvStream * aRecvStreamthe stream that contains the SDES
CRtpSDES * aSourceSdesthe SDES in which the data resides

GetSessionId()

TRtpId GetSessionId()

GetStreamStatistics(TRtpId, TRtpPeerStat &)

TInt GetStreamStatistics(TRtpIdaStreamId,
TRtpPeerStat &aStat
)

Parameters

TRtpId aStreamId
TRtpPeerStat & aStat

GetUniqueSSRC()

TRtpSSRC GetUniqueSSRC()[private]

Logs the SDES data from the data contained in an SDES section.

InitialiseRtcp(const TRtcpParams *)

TInt InitialiseRtcp(const TRtcpParams *aParams)[private]

Parameters

const TRtcpParams * aParams

IsRtcpSendingSuspended(TBool &)

TInt IsRtcpSendingSuspended(TBool &aAutoSending)

Gets the status of automatic RTCP sending.

Parameters

TBool & aAutoSending

IsSrtp()

TBool IsSrtp()

IssueRtcpRecv()

TInt IssueRtcpRecv()[protected]

IssueRtpRecv()

TInt IssueRtpRecv()[protected]

MatchSSRCToStream(TUint &, TRtpSSRC, TStreamType &)

TInt MatchSSRCToStream(TUint &aRcvStreamAddress,
TRtpSSRCaSSRC,
TStreamType &aStreamType
)[private]

Parameters

TUint & aRcvStreamAddress
TRtpSSRC aSSRC
TStreamType & aStreamType

NewL(const TCreateSessionParams &, TUint &, TBool, const TRtcpParams *, RSocketServ &, RConnection &, const TRtpId, const CRtpSDES *, const TUint32 *, const TBool, const RLibrary &, MRtpErrNotify &, MRtpAsignUniqueID &)

CRtpSession *NewL(const TCreateSessionParams &aParams,
TUint &aPort,
TBoolaEnableRtcp,
const TRtcpParams *aRtcpParams,
RSocketServ &aSocketServ,
RConnection &aRConn,
const TRtpIdaSessionId,
const CRtpSDES *aSdes,
const TUint32 *aProfileRTPTimeRates,
const TBoolaStandardRtp,
const RLibrary &aLibrary,
MRtpErrNotify &aErrNotify,
MRtpAsignUniqueID &aAssignUniqueID
)[static]

Parameters

const TCreateSessionParams & aParams
TUint & aPort
TBool aEnableRtcp
const TRtcpParams * aRtcpParams
RSocketServ & aSocketServ
RConnection & aRConn
const TRtpId aSessionId
const CRtpSDES * aSdes
const TUint32 * aProfileRTPTimeRates
const TBool aStandardRtp
const RLibrary & aLibrary
MRtpErrNotify & aErrNotify
MRtpAsignUniqueID & aAssignUniqueID

NextRtcpInterval()

voidNextRtcpInterval()[private]

OnExpiredL(TInt)

voidOnExpiredL(TIntaStatus)

Parameters

TInt aStatus

OnPacketRejected(TPortType)

voidOnPacketRejected(TPortTypeaPort)

Parameters

TPortType aPort

OnReceptionError(TPortType, TInt)

voidOnReceptionError(TPortTypeaPort,
TIntaError
)

Parameters

TPortType aPort
TInt aError

OnRtcpReceivedL()

voidOnRtcpReceivedL()

OnRtpReceivedL()

voidOnRtpReceivedL()

ProcessAPPSectionL(TInt, TInt)

TRtpRtcpEnum ProcessAPPSectionL(TIntaTotalPacketLen,
TIntaSubType
)[private]

Processes the APP section of an RTCP report.

Parameters

TInt aTotalPacketLen
TInt aSubType

ProcessBYESectionL()

TRtpRtcpEnum ProcessBYESectionL()[private]

Processes the BYE section of an RTCP report.

ProcessOneRTCPReportSectionL(const TRtpPacketIOParam &, TRtpSSRC)

TRtpRtcpEnum ProcessOneRTCPReportSectionL(const TRtpPacketIOParam &aExtractParam,
TRtpSSRCaSourceSSRC
)[private]

Launches the processing of individual sections of RTCP reports.

Parameters

const TRtpPacketIOParam & aExtractParam
TRtpSSRC aSourceSSRCThe synchronisation source value of the sender

ProcessRRSectionL(TInt)

TRtpRtcpEnum ProcessRRSectionL(TIntaSourceCount)[private]

Processes the RR section of an RTCP report.

Parameters

TInt aSourceCount

ProcessRTCPReportL()

TRtpRtcpEnum ProcessRTCPReportL()[private]

Processes an RTCP report.

ProcessSDESDataL(TRtpPacketStreamParam &, TRtpPacketIOParam &, TRtpSSRC)

TRtpRtcpEnum ProcessSDESDataL(TRtpPacketStreamParam &aStreamParam,
TRtpPacketIOParam &aExtractParam,
TRtpSSRCaSourceSSRC
)[private]

Processes the data contained in an SDES section.

Parameters

TRtpPacketStreamParam & aStreamParam
TRtpPacketIOParam & aExtractParam
TRtpSSRC aSourceSSRC

ProcessSDESSectionL(TRtpSSRC)

TRtpRtcpEnum ProcessSDESSectionL(TRtpSSRCaSourceSSRC)[private]

Processes the SDES section of an RTCP report.

Parameters

TRtpSSRC aSourceSSRC

ProcessSRSectionL(TInt)

TRtpRtcpEnum ProcessSRSectionL(TIntaSourceCount)[private]

Processes the SR section of an RTCP report.

Parameters

TInt aSourceCount

Random()

TInt Random()[private]

Random64()

TReal Random64()[private]

RcvStreamActive(TInt)

TBool RcvStreamActive(TIntaIndex)[private]

Parameters

TInt aIndex

RcvStreamReceivedRtpPacket(TInt)

TBool RcvStreamReceivedRtpPacket(TIntaIndex)[private]

Parameters

TInt aIndex

RedistributeBandwidth()

voidRedistributeBandwidth()[private]

RegisterRtcpObserver(MRtcpObserver &)

TInt RegisterRtcpObserver(MRtcpObserver &aObserver)

Parameters

MRtcpObserver & aObserver

RegisterRtpObserver(MRtpObserver &)

TInt RegisterRtpObserver(MRtpObserver &aObserver)

Parameters

MRtpObserver & aObserver

RemoveAllStreams()

voidRemoveAllStreams()[private]

RemoveSdesFromArray(TRtpSSRC)

TInt RemoveSdesFromArray(TRtpSSRCaSSRC)[private]

Parameters

TRtpSSRC aSSRC

RemoveStream(const TRtpId, TStreamType &)

TInt RemoveStream(const TRtpIdaMagicKey,
TStreamType &aStreamType
)[private]

Parameters

const TRtpId aMagicKey
TStreamType & aStreamType

ResetRxStreamStats()

voidResetRxStreamStats()

ResetTxStreamStats()

voidResetTxStreamStats()

ResumeRtcpSending()

TInt ResumeRtcpSending()

SSRC()

TRtpSSRC SSRC()const

ScheduleRtcpSendL()

voidScheduleRtcpSendL()[private]

SendData(TBool, const TDesC8 &, TRequestStatus &)

voidSendData(TBoolaUseRTPSocket,
const TDesC8 &aData,
TRequestStatus &aStatus
)

Parameters

TBool aUseRTPSocket
const TDesC8 & aData
TRequestStatus & aStatus

SendRTCPByewithBanedSSRCL()

voidSendRTCPByewithBanedSSRCL()[private]

SendRTCPReport()

voidSendRTCPReport()[private]

SendRtcpAppPacketL(TRtpId, const TRtcpApp &)

TInt SendRtcpAppPacketL(TRtpIdaTranStreamId,
const TRtcpApp &aApp
)

Parameters

TRtpId aTranStreamId
const TRtcpApp & aApp

SendRtcpByePacketL(TRtpId, const TDesC8 &)

TInt SendRtcpByePacketL(TRtpIdaTranStreamId,
const TDesC8 &aReason
)

Parameters

TRtpId aTranStreamId
const TDesC8 & aReason

SendRtcpRrPacketL(TRtpId)

TInt SendRtcpRrPacketL(TRtpIdaRecvStreamId)

Parameters

TRtpId aRecvStreamId

SendRtcpSrPacketL(TRtpId)

TInt SendRtcpSrPacketL(TRtpIdaTranStreamId)

Parameters

TRtpId aTranStreamId

SendRtpPacket(TRtpId, const TRtpSendHeader &, const TDesC8 &)

TInt SendRtpPacket(TRtpIdaTranStreamId,
const TRtpSendHeader &aHeaderInfo,
const TDesC8 &aPayloadData
)

Parameters

TRtpId aTranStreamId
const TRtpSendHeader & aHeaderInfo
const TDesC8 & aPayloadData

SendRtpPacket(TRtpId, const TRtpSendHeader &, const TDesC8 &, TRequestStatus &)

TInt SendRtpPacket(TRtpIdaTranStreamId,
const TRtpSendHeader &aHeaderInfo,
const TDesC8 &aPayloadData,
TRequestStatus &aStatus
)

Parameters

TRtpId aTranStreamId
const TRtpSendHeader & aHeaderInfo
const TDesC8 & aPayloadData
TRequestStatus & aStatus

SendRtpPacket(const TRtpSendHeader &, const TDesC8 &)

TInt SendRtpPacket(const TRtpSendHeader &aHeaderInfo,
const TDesC8 &aPayloadData
)

Parameters

const TRtpSendHeader & aHeaderInfo
const TDesC8 & aPayloadData

SendRtpPacket(const TRtpSendHeader &, const TDesC8 &, TRequestStatus &)

TInt SendRtpPacket(const TRtpSendHeader &aHeaderInfo,
const TDesC8 &aPayloadData,
TRequestStatus &aStatus
)

Parameters

const TRtpSendHeader & aHeaderInfo
const TDesC8 & aPayloadData
TRequestStatus & aStatus

SendRtpPacket(TRtpId, TRtpSequence, const TRtpSendHeader &, const TDesC8 &, TRequestStatus &)

TInt SendRtpPacket(TRtpIdaTranStreamId,
TRtpSequenceaSequenceNum,
const TRtpSendHeader &aHeaderInfo,
const TDesC8 &aPayloadData,
TRequestStatus &aStatus
)

Parameters

TRtpId aTranStreamId
TRtpSequence aSequenceNum
const TRtpSendHeader & aHeaderInfo
const TDesC8 & aPayloadData
TRequestStatus & aStatus

SendSRTCPReportL(TRtpSSRC)

voidSendSRTCPReportL(TRtpSSRCaSSRC)[protected, virtual]

Parameters

TRtpSSRC aSSRC

SetNonRTPDataObserver(MNonRTPDataObserver *)

TInt SetNonRTPDataObserver(MNonRTPDataObserver *aNonRTPDataObserver)

Parameters

MNonRTPDataObserver * aNonRTPDataObserver

SetParamsForFullRTCPReport(CRtpTranStream *, TRtpPacketStreamParam *, TRtpPacketIOParam *, TBool)

voidSetParamsForFullRTCPReport(CRtpTranStream *aTranStream,
TRtpPacketStreamParam *aStreamParam,
TRtpPacketIOParam *aInitParam,
TBoolaRxActive
)[private]

Determines parameters before an RTCP report with SR (RR) and SDES sections is sent.

Parameters

CRtpTranStream * aTranStreamThe stream that will send the RTCP report
TRtpPacketStreamParam * aStreamParampointer to the stream parameters
TRtpPacketIOParam * aInitParampointer to the initialisation parameters
TBool aRxActivea list of active/not active streams

SetRemoteAddress(TInetAddr &)

TInt SetRemoteAddress(TInetAddr &aRemoteAddr)

Parameters

TInetAddr & aRemoteAddr

SetRemoteRtcpAddress(TInetAddr &)

TInt SetRemoteRtcpAddress(TInetAddr &aRemoteAddr)

Parameters

TInetAddr & aRemoteAddr

SetRtcpParameters(const TRtcpParams &)

TInt SetRtcpParameters(const TRtcpParams &aRtcpParams)

Parameters

const TRtcpParams & aRtcpParams

ShouldBuildEmptyRR(CRtpTranStream *)

TBool ShouldBuildEmptyRR(CRtpTranStream *aTempTranStream)[private]

Parameters

CRtpTranStream * aTempTranStream

StartReceiveRtcpPacket()

voidStartReceiveRtcpPacket()[private]

StartSession()

TInt StartSession()

StopReceiveRtcpPacket()

voidStopReceiveRtcpPacket()[private]

StopRtcpSending()

TInt StopRtcpSending()

StreamSendAPPPacket()

TInt StreamSendAPPPacket()[private]

StreamSendBYEPacket()

TInt StreamSendBYEPacket()[private]

UnregisterRtcpObserver()

voidUnregisterRtcpObserver()

UnregisterRtpObserver()

voidUnregisterRtpObserver()

Member Enumerations Documentation

Enum anonymous

Enumerators

ECallBack
ETimeOut

Enum TStreamType

Enumerators

ETxStream = 0
ERxStream

Member Data Documentation

MRtpAsignUniqueID & iAssignUniqueID

MRtpAsignUniqueID &iAssignUniqueID[protected]

TReal iAverageRtcpSize

TReal iAverageRtcpSize[protected]

TUint iBandWidth

TUint iBandWidth[protected]

CRtpComm * iCommNet

CRtpComm *iCommNet[protected]

TRtpSSRC iDefaultSSRC

TRtpSSRC iDefaultSSRC[private]

MRtpErrNotify & iErrNotify

MRtpErrNotify &iErrNotify[protected]

TBool iFPortsInit

TBool iFPortsInit[protected]

TBool iFirstRTCPSent

TBool iFirstRTCPSent[protected]

TReal iFraction

TReal iFraction[protected]

TBool iIsSrtp

TBool iIsSrtp[protected]

const CRtpSDES * iLocalSdes

const CRtpSDES *iLocalSdes[private]

TRtpSdesParams * iNewSdes

TRtpSdesParams *iNewSdes[private]

MNonRTPDataObserver * iNonRTPDataObserver

MNonRTPDataObserver *iNonRTPDataObserver[protected]

TUint16 iNumOfRxStreams

TUint16 iNumOfRxStreams[protected]

TUint16 iNumOfTxStreams

TUint16 iNumOfTxStreams[protected]

MRtpPacketExt * iPktExtRcv

MRtpPacketExt *iPktExtRcv[protected]

MRtpPacketExt * iPktExtSnd

MRtpPacketExt *iPktExtSnd[protected]

CRtpPacket * iPktRcv

CRtpPacket *iPktRcv[protected]

CRtpPacket * iPktRtcpRcv

CRtpPacket *iPktRtcpRcv[protected]

CRtpPacket * iPktRtcpSnd

CRtpPacket *iPktRtcpSnd[protected]

CRtpPacket * iPktSnd

CRtpPacket *iPktSnd[protected]

const TUint32 * iProfileRTPTimeRates

const TUint32 *iProfileRTPTimeRates[protected]

TInetAddr iRemoteAddr

TInetAddr iRemoteAddr[private]

TBool iRemoteAddrSet

TBool iRemoteAddrSet[private]

TBool iRtcpEnabled

TBool iRtcpEnabled[protected]

TInt iRtcpErrors

TInt iRtcpErrors[protected]

MRtcpObserver * iRtcpObserver

MRtcpObserver *iRtcpObserver[protected]

TPtr8 iRtcpRecvBuf

TPtr8 iRtcpRecvBuf[protected]

TBool iRtcpSendingSuspended

TBool iRtcpSendingSuspended[protected]

TUint iRtcpTimeInterval

TUint iRtcpTimeInterval[protected]

MRtpObserver * iRtpObserver

MRtpObserver *iRtpObserver[protected]

TPtr8 iRtpRecvBuf

TPtr8 iRtpRecvBuf[protected]

RArray< TRtpSSRC > iRxSSRCArray

RArray< TRtpSSRC >iRxSSRCArray[protected]

TInt iSSRCJumps

TInt iSSRCJumps[protected]

CArrayPtrFlat< CRtpSDES > * iSdesArray

CArrayPtrFlat< CRtpSDES > *iSdesArray[protected]

TInt64 iSeed

TInt64 iSeed[protected]

TInt iSendSdesCounter

TInt iSendSdesCounter[private]

TRtpId iSessionId

TRtpId iSessionId[private]

TBool iSessionStarted

TBool iSessionStarted[protected]

CRtpTimer * iSndRtcpTimer

CRtpTimer *iSndRtcpTimer[protected]

TBool iStandardRtp

TBool iStandardRtp[private]

CArrayFixFlat< TStream > * iStreamRxArray

CArrayFixFlat< TStream > *iStreamRxArray[protected]

CArrayFixFlat< TStream > * iStreamTxArray

CArrayFixFlat< TStream > *iStreamTxArray[protected]

TUint iTotalParticipantsSession

TUint iTotalParticipantsSession[protected]