RRtcpSRPart Class Reference

class RRtcpSRPart

A handle to a SR (Sender Report) packet.

RRs (Receiver Reports) received as part of a SR (Sender Report) are classified with the RRs. The resources accessed through this handle are owned by the receive stream object, a RRtpReceiveStream instance, and therefore has no Close() member function.

Public Member Functions
RRtcpSRPart(TRtcpSRPart &)
IMPORT_C TUintByteCount()
IMPORT_C const TDesC8 &Extension()
IMPORT_C voidNTPTimestamp(TTime &)
IMPORT_C voidNTPTimestamp(TUint32 &, TUint32 &)
IMPORT_C TUintPacketCount()
IMPORT_C TUintRTPTimestamp()
Private Attributes
TRtcpSRPart &iSrPtr

Constructor & Destructor Documentation

RRtcpSRPart(TRtcpSRPart &)

IMPORT_CRRtcpSRPart(TRtcpSRPart &aSr)

Default constructor.

Parameters

TRtcpSRPart & aSr

Member Functions Documentation

ByteCount()

IMPORT_C TUintByteCount()const

Gets the number of bytes that have been sent.

Extension()

IMPORT_C const TDesC8 &Extension()

Gets the profile-specific extension.

NTPTimestamp(TTime &)

IMPORT_C voidNTPTimestamp(TTime &aTime)const

Gets the absolute time when this SR was sent, in TTime format.

Parameters

TTime & aTime

NTPTimestamp(TUint32 &, TUint32 &)

IMPORT_C voidNTPTimestamp(TUint32 &aSec,
TUint32 &aFrac
)const

added as Fix to Defect PDEF101761 Gets the timestamp when this SR was sent, in seconds and fraction

@ return The time in Seconds and Fraction

Parameters

TUint32 & aSec
TUint32 & aFrac

PacketCount()

IMPORT_C TUintPacketCount()const

Gets the number of packets that have been sent.

RTPTimestamp()

IMPORT_C TUintRTPTimestamp()const

Gets the RTP time when this packet was sent.

Note that RTP time is profile dependant and may have an arbitrary start time, but this is useful for tying the SR with the timestamps in the data stream

Member Data Documentation

TRtcpSRPart & iSrPtr

TRtcpSRPart &iSrPtr[private]