CRtpFileSender Class Reference

List of all members.

Public Member Functions

void DoPacketSent (const TRtpEvent &aEvent)
void DoSendError (const TRtpEvent &aEvent)
void StartL ()
void SetObserver (MFileStreamerObserver &aObserver)

Static Public Member Functions

static void PacketSent (CRtpFileSender *aPtr, const TRtpEvent &aEvent)
static void SendError (CRtpFileSender *aPtr, const TRtpEvent &aEvent)
static CRtpFileSenderNewL (RRtpSession &aSession, RFs &aFs, const TDesC &aSrcFilename, TInt aPacketSize, TInt aDelayMicroSeconds)

Detailed Description

An Active Object which sends a block of a file after every n microseconds as an RTP payload.

Definition at line 39 of file RTPFileStreamer.h.


Member Function Documentation

void CRtpFileSender::PacketSent ( CRtpFileSender aPtr,
const TRtpEvent &  aEvent 
) [static]

A callback method which CRtpFileSender registers with the RtpSession to be called when a packet is successfully sent.

Definition at line 50 of file RTPFileStreamer.cpp.

void CRtpFileSender::DoPacketSent ( const TRtpEvent &  aEvent  ) 

An instance method which is called by the static callback function to notify the observer and start the RTimer such that another packet can be sent when the timer expires.

Definition at line 60 of file RTPFileStreamer.cpp.

void CRtpFileSender::SendError ( CRtpFileSender aPtr,
const TRtpEvent &  aEvent 
) [static]

A callback method to be called when a sent packet fails.

Definition at line 73 of file RTPFileStreamer.cpp.

void CRtpFileSender::DoSendError ( const TRtpEvent &  aEvent  ) 

An instance method which is called by the static callback function to notify the observer of the error while sending the packet.

Definition at line 82 of file RTPFileStreamer.cpp.


Generated by  doxygen 1.6.2