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

Go to the source code of this file.
Functions | |
| static void | rtcp_clean (void *args) |
| double | rtcp_interval (int members, int senders, double bw, int sent, double avg_rtcp_size, int initial) |
| static void * | rtcp (void *args) |
| int | rtcp_thread_create (rtp_thread *rtp_th) |
Definition in file rtcp.c.
| static void* rtcp | ( | void * | args | ) | [static] |
The RTCP thread main loop, continuously calls rctp_recv every time there is data available or handles pending events if no data is available
| args | The rtp_thread for which to loop. |
Definition at line 63 of file rtcp.c.
References nms_timeval_add(), nms_timeval_subtract(), rtcp_clean(), rtcp_clean_events(), rtcp_handle_event(), rtcp_interval(), rtcp_recv(), and rtcp_schedule().
Referenced by rtcp_thread_create().

| static void rtcp_clean | ( | void * | args | ) | [static] |
| 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
| 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 |
Definition at line 44 of file rtcp_utils.c.
Referenced by rtcp(), and rtcp_handle_event().
1.5.4