INET Framework for OMNeT++/OMNEST
|
This module is used to receive getData(mpeg video) of payload 32 for rtp endsystems working under the rtp av profile. More...
#include <RTPAVProfilePayload32Receiver.h>
Protected Member Functions | |
virtual | ~RTPAVProfilePayload32Receiver () |
Destructor. More... | |
virtual void | initialize () override |
Calls the method of the superclass RTPPayloadReceiver and sets the payload type to 32. More... | |
virtual void | processPacket (RTPPacket *packet) override |
Writes information about received frames into the output file. More... | |
Protected Member Functions inherited from inet::rtp::RTPPayloadReceiver | |
virtual void | handleMessage (cMessage *msg) override |
Method for handling incoming packets. More... | |
virtual void | openOutputFile (const char *fileName) |
This method is called by initialize and opens the output file stream. More... | |
virtual void | closeOutputFile () |
Closes the output file stream. More... | |
Protected Attributes | |
cQueue * | _queue |
A reordering queue for incoming packets. More... | |
uint32 | _lowestAllowedTimeStamp |
Stores the lowest allowed time stamp of rtp data packets. More... | |
uint32 | _highestSequenceNumber |
Protected Attributes inherited from inet::rtp::RTPPayloadReceiver | |
std::ofstream | _outputFileStream |
The output file stream. More... | |
std::ofstream | _outputLogLoss |
The output file stream. More... | |
int | _payloadType |
The payload type this RTPPayloadReceiver module processes. More... | |
Additional Inherited Members | |
Public Member Functions inherited from inet::rtp::RTPPayloadReceiver | |
virtual | ~RTPPayloadReceiver () |
Destructor. More... | |
Static Protected Attributes inherited from inet::rtp::RTPPayloadReceiver | |
static simsignal_t | _rcvdPkRtpTimestampSignal = registerSignal("rcvdPkRtpTimestamp") |
An output signal used to store arrival of rtp data packets. More... | |
This module is used to receive getData(mpeg video) of payload 32 for rtp endsystems working under the rtp av profile.
It expects data in the format defined in rfc 2250. Its corresponding sender module is RTPAVProfilePayload32Sender. This implementation doesn't work with real mpeg data, so it doesn't write an mpeg file but a sim file, which can be played with a modified mpeg player.
|
protectedvirtual |
Destructor.
|
overrideprotectedvirtual |
Calls the method of the superclass RTPPayloadReceiver and sets the payload type to 32.
Reimplemented from inet::rtp::RTPPayloadReceiver.
|
overrideprotectedvirtual |
Writes information about received frames into the output file.
The only error correction provided is reordering packets of one frame if needed.
Reimplemented from inet::rtp::RTPPayloadReceiver.
|
protected |
Referenced by initialize(), and processPacket().
|
protected |
Stores the lowest allowed time stamp of rtp data packets.
The value is used to throw away packets from mpeg frames already stored in the data file.
Referenced by initialize(), and processPacket().
|
protected |
A reordering queue for incoming packets.
Referenced by initialize(), processPacket(), and ~RTPAVProfilePayload32Receiver().