rtcp_utils.c File Reference

#include "rtcp.h"

Include dependency graph for rtcp_utils.c:

Go to the source code of this file.

Defines

#define RTCP_MIN_TIME   5.0
#define RTCP_SENDER_BW_FRACTION   0.25
#define RTCP_RCVR_BW_FRACTION   0.75
#define COMPENSATION   1.21828

Functions

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


Detailed Description

This file contains the utility functions for RTCP Layer

Definition in file rtcp_utils.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.

Referenced by rtcp(), and rtcp_handle_event().


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