#include <mnt_rtp_file_reader.h>
Inheritance diagram for MntRTPFileReader:
Public Member Functions | |
MntRTPFileReader (const char *const filename) | |
virtual int | pump_some () |
Important: We assume all packets are less then MAX_PACKET_SIZE.
|
This constructor open a binary file with given filename. This file should have been created previously with MntRTPFileWriter object. A packet buffer is allocated, and a MntRTPMPEGPacket object is created. |
|
Reads one packet from the given file and sends it down the pipeline. Reimplemented from MntPump. |