rtcp_events.c File Reference

#include "rtcp.h"
#include "utils.h"

Include dependency graph for rtcp_events.c:

Go to the source code of this file.

Functions

struct rtcp_event * rtcp_deschedule (struct rtcp_event *head)
void rtcp_clean_events (void *events)
double rtcp_interval (int members, int senders, double bw, int sent, double avg_rtcp_size, int initial)
struct rtcp_event * rtcp_handle_event (struct rtcp_event *event)
struct rtcp_event * rtcp_schedule (struct rtcp_event *head, rtp_session *rtp_sess, struct timeval tv, rtcp_type_t type)


Detailed Description

This file contains the RTCP Layer events handling functions. rtcp_events are the way the libNemesi uses to notify its RTCP Layer that it has to do something on client side.

Definition in file rtcp_events.c.


Function Documentation

double rtcp_interval ( int  members,
int  senders,
double  rtcp_bw,
int  we_sent,
double  avg_rtcp_size,
int  initial 
)

Calculates an interval between rtcp reports

Parameters:
members Number of members active in the session
senders Number of senders active in the session
rtcp_bw ?
we_sent TRUE -> Calculate interval for sending, FALSE -> for receiving
avg_rtcp_size ?
initial If it's the first interval we are calculating
Returns:
Result time in ms

Definition at line 44 of file rtcp_utils.c.


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