rtp_thread.c File Reference

#include "rtp.h"
#include "comm.h"
#include "bufferpool.h"
#include "parsers/rtpparsers.h"
#include "utils.h"

Include dependency graph for rtp_thread.c:

Go to the source code of this file.

Defines

#define PO_BUFF_SIZE_SEC   0
#define PO_BUFF_SIZE_MSEC   700

Functions

static void rtp_clean (void *thrd)
static void * rtp (void *args)
rtp_thread * rtp_init (void)
int rtp_thread_create (rtp_thread *rtp_th)


Detailed Description

This file contains the RTP main loop function and functions to create and run a new RTP Thread.

Definition in file rtp_thread.c.


Function Documentation

static void* rtp ( void *  args  )  [static]

The RTP thread main loop, continuously calls rtp_recv every time there is data available.

Parameters:
args The rtp_thread for which to loop.

Definition at line 121 of file rtp_thread.c.

References bpinit(), rtp_clean(), and rtp_recv().

Referenced by rtp_thread_create().

Here is the call graph for this function:

static void rtp_clean ( void *  thrd  )  [static]

Given an rtp_thread deallocates the binded payload parsers, the transport informations and every session of the thread.

Parameters:
thrd The thread to clean

Definition at line 43 of file rtp_thread.c.

References bpkill().

Referenced by rtp().

Here is the call graph for this function:


Generated on Tue Feb 3 03:10:02 2009 for libnemesi by  doxygen 1.5.4