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

MntRTPFileReader Class Reference

#include <mnt_rtp_file_reader.h>

Inheritance diagram for MntRTPFileReader:

MntPump MntComponent List of all members.

Public Member Functions

 MntRTPFileReader (const char *const filename)
virtual int pump_some ()

Detailed Description

This class is a pump that pumps MntRTPMPEGpacket from a file and sends it to other components. The file should be created previously with MntRTPFileWriter object.

Important: We assume all packets are less then MAX_PACKET_SIZE.


Constructor & Destructor Documentation

MntRTPFileReader::MntRTPFileReader const char *const   filename  ) 
 

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.


Member Function Documentation

int MntRTPFileReader::pump_some  )  [virtual]
 

Reads one packet from the given file and sends it down the pipeline.

Reimplemented from MntPump.


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