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 CRtpFileSender * | NewL (RRtpSession &aSession, RFs &aFs, const TDesC &aSrcFilename, TInt aPacketSize, TInt aDelayMicroSeconds) |
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.
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.
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.