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 TUint ByteCount ()
IMPORT_C const TDesC8 & Extension ()
IMPORT_C void NTPTimestamp ( TTime &)
IMPORT_C void NTPTimestamp ( TUint32 &, TUint32 &)
IMPORT_C TUint PacketCount ()
IMPORT_C TUint RTPTimestamp ()
Private Attributes
TRtcpSRPart & iSrPtr

Constructor & Destructor Documentation

RRtcpSRPart(TRtcpSRPart &)

IMPORT_C RRtcpSRPart ( TRtcpSRPart & aSr )

Default constructor.

Parameters

TRtcpSRPart & aSr

Member Functions Documentation

ByteCount()

IMPORT_C TUint ByteCount ( ) 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 void NTPTimestamp ( TTime & aTime ) const

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

Parameters

TTime & aTime

NTPTimestamp(TUint32 &, TUint32 &)

IMPORT_C void NTPTimestamp ( 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 TUint PacketCount ( ) const

Gets the number of packets that have been sent.

RTPTimestamp()

IMPORT_C TUint RTPTimestamp ( ) 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]