Main Page | Class Hierarchy | Class List | Directories | File List | Class Members

MntRTPPayloadDumper Class Reference

#include <mnt_rtp_payload_dumper.h>

Inheritance diagram for MntRTPPayloadDumper:

MntComponent List of all members.

Public Member Functions

 MntRTPPayloadDumper (const char *name)
 ~MntRTPPayloadDumper ()
virtual void recv (MntData *p)

Detailed Description

This component expects an MntRTPMPEGPacket as input, dumps the payload of the packet to a binary file, and push the received MntRTPMPEGPacket down streams.


Constructor & Destructor Documentation

MntRTPPayloadDumper::MntRTPPayloadDumper const char *  name  )  [inline]
 

Open a file using the given name for writing. If the file cannot be opened, /tmp/rtp.dump will be used for writing, and if that fails, the program will crash.

Parameters:
name The name of the output file to dump the payload to.

MntRTPPayloadDumper::~MntRTPPayloadDumper  )  [inline]
 

Close the file opened for payload dumping.


Member Function Documentation

virtual void MntRTPPayloadDumper::recv MntData p  )  [inline, virtual]
 

Receive an MntRTPMPEGPacket object, dump the payload to a file, and push the object to the down stream components.

Reimplemented from MntComponent.


The documentation for this class was generated from the following file:
Generated on Thu Aug 25 14:07:39 2005 for mnt by  doxygen 1.4.4