class RTPProcessor

Base class to ease creation of RTP forwarders. More...

Contains pure virtuals
Full nameTelEngine::RTPProcessor
Definition#include <libs/yrtp/yatertp.h>
InheritsTelEngine::GenObject [public ]
Inherited byRTPDejitter, RTPSession, RTPTransport
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Protected Methods


Detailed Description

A base class that contains just placeholders to process raw RTP and RTCP packets.

 RTPProcessor ()

RTPProcessor

Constructor - processor should be later inserted in a RTP group

 ~RTPProcessor ()

~RTPProcessor

[virtual]

Destructor - removes itself from the RTP group

inline RTPGroup*  group ()

group

[const]

Get the RTP group to which this processor belongs

Returns: Pointer to the RTP group this processor has joined

void  rtpData (const void* data, int len)

rtpData

[virtual]

This method is called to send or process a RTP packet

Parameters:
dataPointer to raw RTP data
lenLength of the data packet

void  rtcpData (const void* data, int len)

rtcpData

[virtual]

This method is called to send or process a RTCP packet

Parameters:
dataPointer to raw RTCP data
lenLength of the data packet

void  group (RTPGroup* newgrp)

group

[protected]

Set a new RTP group for this processor

Parameters:
newgrpNew group to join this processor, the old one will be left

void  timerTick (const Time& when)

timerTick

[protected pure virtual]

Method called periodically to keep the data flowing

Parameters:
whenTime to use as base in all computing


Generated by: paulc on bussard on Wed Oct 21 01:57:30 2009, using kdoc 2.0a54.