Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

RetransBase Class Reference

#include <RetransBase.h>

Inheritance diagram for RetransBase:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 RetransBase ()
virtual ~RetransBase ()
virtual MNRopecreateExtensionHeaderData (int &type)=0
virtual void setEncoder (MNRTPEncoderBase *enc)=0
virtual MNRTPEncoderBasegetEncoder ()=0
virtual bool hasExtHeader ()=0
virtual bool prepareCallback ()=0
virtual SH::ReportPtr sendEnd ()
virtual MNRopeget_next_data (SH::SinkEndpoint *pull_here, size_t max_bytes_to_pull, SH::ReturnCode &except, size_t &pulled_bytes, bool &rtp_marker, u_int32 &rtp_timestamp, Timeval &next_playtime_packet, int bandwidth, int &cbpidx)=0
virtual bool evalRTRTCP (void *data, int len, int subtype, int &cbpidx)

Static Public Member Functions

RetransBasefactory (SDP::RetransTypes retrans_type, SH::Base *enc)

Constructor & Destructor Documentation

RetransBase::RetransBase  ) 
 

Constructor

virtual RetransBase::~RetransBase  )  [virtual]
 


Member Function Documentation

virtual MNRope* RetransBase::createExtensionHeaderData int &  type  )  [pure virtual]
 

This function returns the data that is included in the RTP extension header. The format and the content of the data depends on the single retransmision method.

Implemented in SH::LCRetrans, and NoRetrans.

virtual bool RetransBase::evalRTRTCP void *  data,
int  len,
int  subtype,
int &  cbpidx
[virtual]
 

Reimplemented in SH::LCRetrans.

RetransBase* RetransBase::factory SDP::RetransTypes  retrans_type,
SH::Base enc
[static]
 

Static factory function that creates a new retransmission codec of the given type if it is known. E.g. the following SDP lines should cause that an LC-RTP codec is created. m=video 49232 RTP/AVP 98 99 i a=rtpmap:98 MPEG/9000 a=rtpmap:99 X-LCRETR/9000

virtual MNRope* RetransBase::get_next_data SH::SinkEndpoint pull_here,
size_t  max_bytes_to_pull,
SH::ReturnCode except,
size_t &  pulled_bytes,
bool &  rtp_marker,
u_int32 rtp_timestamp,
Timeval next_playtime_packet,
int  bandwidth,
int &  cbpidx
[pure virtual]
 

Implemented in SH::LCRetrans, and NoRetrans.

virtual MNRTPEncoderBase* RetransBase::getEncoder  )  [pure virtual]
 

Function that returns a pointer to MNRTPEncoderBase

Implemented in RetransCommon.

virtual bool RetransBase::hasExtHeader  )  [pure virtual]
 

Function that returns if an RTP extension header is created by the retransmission mechanism

Implemented in SH::LCRetrans, and NoRetrans.

virtual bool RetransBase::prepareCallback  )  [pure virtual]
 

Implemented in SH::LCRetrans, and NoRetrans.

virtual SH::ReportPtr RetransBase::sendEnd  )  [virtual]
 

Reimplemented in SH::LCRetrans.

virtual void RetransBase::setEncoder MNRTPEncoderBase enc  )  [pure virtual]
 

Function that sets a pointer to MNRTPEncoderBase

Implemented in RetransCommon.


The documentation for this class was generated from the following file:
Generated on Sun Mar 6 13:36:09 2005 for Komssys by doxygen 1.3.8