#include <mnt_rtp_file_writer.h>
Inheritance diagram for MntRTPFileWriter:
Public Member Functions | |
MntRTPFileWriter (const char *name) | |
This constructor opens the file of a given name for writing. | |
~MntRTPFileWriter () | |
This destructor closes the file this object is writing to. | |
virtual void | recv (MntData *p) |
Expects a MntRTPMPEGPacket object, writes to a file and push the received object to other components. | |
Private Attributes | |
FILE * | f_ |
|
This constructor opens the file of a given name for writing. If the given filename cannot be opened, then a file called /tmp/DUMP.rtp will be created for writing (without warning). If this attempt fails as well, the program might seg fault. |
|
the file to dump the RTP packets to |