Location:
rtp.h
class RRtpReceiveSource;
A handle to a receive stream.
An object of this type represents the stream of data on a single SSRC and delivers the RTP packets and RTCP information in the order they arrive.
Note that RTP does not guarantee the order of delivery, which means that the client may want to buffer the data.
Defined in RRtpReceiveSource
:
Close()
, IsOpen()
, Packet()
, RRtpReceiveSource()
, RegisterEventCallbackL()
, RegisterEventCallbackL()
, operator!=()
, operator==()
inline TBool IsOpen() const;
Tests whether the receive stream represented by this handle is open.
|
IMPORT_C void Close();
Closes the receive stream releases all associated resources.
This includes closing all RRtpReceivePacket
objects that have not already been closed.
The receive stream object cannot be closed if an event is currently being handled, i.e. a call back into client code is currently in progress.
inline void RegisterEventCallbackL(TRtpEventType aType, void(*aCallback)(T *, const TRtpEvent &), T *aPtr, TRtpOneShotness
aOneShot, TInt aParameter);
|
inline void RegisterEventCallbackL(TRtpEventType aType, void(*aCallback)(T *, const TRtpEvent &), T *aPtr, TRtpOneShotness
aOneShot=ERtpNotOneShot);
|
IMPORT_C RRtpReceivePacket Packet();
Gets the packet that has just arrived, or a closed packet if there isn't one.
Ownership of the packet is transferred to the caller of this function.
Note that if this function is called twice in quick succession, then it will return a closed packet the second time.
|
inline TBool operator==(RRtpReceiveSource aThat) const;
Tests whether this receive stream handle represents the same receive stream as the one represented by the specified handle.
|
|
inline TBool operator!=(RRtpReceiveSource aThat) const;
Tests whether this receive stream handle represents a different receive stream to the one represented by the specified handle.
|
|