#include <mnt_rtp_payload_dumper.h>
Inheritance diagram for MntRTPPayloadDumper:
Public Member Functions | |
MntRTPPayloadDumper (const char *name) | |
Open a file using the given name for writing. | |
~MntRTPPayloadDumper () | |
Close the file opened for payload dumping. | |
virtual void | recv (MntData *p) |
Receive an MntRTPMPEGPacket object, dump the payload to a file, and push the object to the down stream components. | |
Private Attributes | |
FILE * | f_ |
|
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.
|
|
File pointer to the output file |