CRtpTranStream Class Reference
class CRtpTranStream : public CRtpStream
|
Derived class for RTP transmit stream.
RtpService.dll
Public Member Functions
|
|
~CRtpTranStream
()
|
TInt
|
BuildRtcpAPPPacket
(const
TRtcpApp
&,
CRtpPacket
*)
|
TInt
|
BuildRtcpBYEPacket
(const
TDesC8
&,
CRtpPacket
*)
|
TInt
|
BuildRtpPacket
(const
TRtpSendHeader
&, const
TDesC8
&,
TRtpSequence
,
TBool
,
CRtpPacket
*)
|
TInt
|
GetStreamStat
(
TRtpPeerStat
&)
|
CRtpTranStream
*
|
NewL
(const
TRtpPayloadType
, const
TRtpId
, const
TRtpId
, const
TRtpSSRC
,
MRtcpObserver
*, const
TUint32
*)
|
void
|
ResetRtcpReportFlag
()
|
TInt
|
ResetStreamStat
()
|
void
|
RtpStreamCreateRtcpReportSection
(
CRtpPacket
*)
|
TRtpRtcpEnum
|
RtpStreamProcessRtcpReportSectionL
(
CRtpPacket
*)
|
TBool
|
SentRTPPackets
()
|
TBool
|
SentRtcpReport
()
|
void
|
SetBandwidth
(
TUint32
)
|
void
|
SetRtcpReportFlag
()
|
void
|
SetSentRTPPackets
(
TBool
)
|
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()
|
|
CRtpStream::CRtpStream(const TRtpId,const TRtpId,const TUint32 *,MRtcpObserver *,const TRtpPayloadType)
|
|
CRtpStream::FirstPkg()const
|
|
CRtpStream::GetLocalSSRC()const
|
|
CRtpStream::GetStreamID()const
|
|
CRtpStream::RegisterRtcpObserver(MRtcpObserver &)
|
|
CRtpStream::RtcpStats(TRtcpStats &)
|
|
CRtpStream::SetFirstPkg(TBool)
|
|
CRtpStream::SetLocalSSRC(TRtpSSRC)
|
|
CRtpStream::UnRegisterRtcpObserver()
|
|
CRtpStream::~CRtpStream()
|
Constructor & Destructor Documentation
CRtpTranStream(const TRtpPayloadType, const TRtpId, const TRtpId, const TRtpSSRC, MRtcpObserver *, const TUint32 *)
Member Functions Documentation
BuildRtcpAPPPacket(const TRtcpApp &, CRtpPacket *)
BuildRtcpBYEPacket(const TDesC8 &, CRtpPacket *)
BuildRtpPacket(const TRtpSendHeader &, const TDesC8 &, TRtpSequence, TBool, CRtpPacket *)
ConstructL()
void
|
ConstructL
|
(
|
)
|
[private]
|
EstimateBandWidths(TUint32)
void
|
EstimateBandWidths
|
(
|
TUint32
|
aCurrentTime
|
)
|
[private]
|
Makes an estimate of the Tx and Rx bandwidths. NOTE: This is just a simple estimate, which assumes the following:
-
this is an end-to-end session
-
the sessions and streams are set up before traffic starts
-
the payload bitrate is constant The result of this estimation should not be used in any other contexts.
GetStreamStat(TRtpPeerStat &)
IncCumNumOctetsSent(TUint32)
void
|
IncCumNumOctetsSent
|
(
|
TUint32
|
aInc
|
)
|
[private, inline]
|
NewL(const TRtpPayloadType, const TRtpId, const TRtpId, const TRtpSSRC, MRtcpObserver *, const TUint32 *)
ResetRtcpReportFlag()
void
|
ResetRtcpReportFlag
|
(
|
)
|
[inline]
|
ResetStreamStat()
TInt
|
ResetStreamStat
|
(
|
)
|
[virtual]
|
RtpStreamCreateRtcpReportSection(CRtpPacket *)
void
|
RtpStreamCreateRtcpReportSection
|
(
|
CRtpPacket
*
|
aPkt
|
)
|
[virtual]
|
RtpStreamProcessRtcpReportSectionL(CRtpPacket *)
RtpStreamSyncCurrent(TRtpTimeSync *)
void
|
RtpStreamSyncCurrent
|
(
|
TRtpTimeSync
*
|
aSyncInfoCurrent
|
)
|
[private]
|
RtpStreamSyncGetRoundTripDelay(TUint32, TUint32)
RtpStreamSyncInit(TRtpTimeStamp)
SentRTPPackets()
TBool
|
SentRTPPackets
|
(
|
)
|
const [inline]
|
SentRtcpReport()
TBool
|
SentRtcpReport
|
(
|
)
|
[inline]
|
SetBandwidth(TUint32)
void
|
SetBandwidth
|
(
|
TUint32
|
aBandwidth
|
)
|
[inline]
|
SetRtcpReportFlag()
void
|
SetRtcpReportFlag
|
(
|
)
|
[inline]
|
SetSentRTPPackets(TBool)
void
|
SetSentRTPPackets
|
(
|
TBool
|
aFlag
|
)
|
[inline]
|
Member Data Documentation
TUint32
iCumNumOctetsReceived
TUint32
|
iCumNumOctetsReceived
|
[private]
|
TUint32
iCumNumOctetsSent
TUint32
|
iCumNumOctetsSent
|
[private]
|
TUint32
iCumNumOctetsSent_last
TUint32
|
iCumNumOctetsSent_last
|
[private]
|
TBool
iFSentRtcpReport
TBool
|
iFSentRtcpReport
|
[private]
|
TBool
iFSetSeqNum
TBool
|
iFSetSeqNum
|
[private]
|
TBool
iFlagSentRTPPackets
TBool
|
iFlagSentRTPPackets
|
[private]
|
TUint32
iPreviousRemoteSN
TUint32
|
iPreviousRemoteSN
|
[private]
|
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.