RTCP Events Loop
[RTCP Layer]

Collaboration diagram for RTCP Events Loop:

Functions

void rtcp_clean_events (void *events)
struct rtcp_event * rtcp_schedule (struct rtcp_event *head, rtp_session *sess, struct timeval tv, rtcp_type_t type)
struct rtcp_event * rtcp_deschedule (struct rtcp_event *event)
struct rtcp_event * rtcp_handle_event (struct rtcp_event *event)

Detailed Description

RTCP Events

Function Documentation

void rtcp_clean_events ( void *  events  ) 

Removes all the pending events from the event queue

Parameters:
events The pointer to the event queue head pointer

Definition at line 52 of file rtcp_events.c.

Referenced by rtcp().

struct rtcp_event* rtcp_deschedule ( struct rtcp_event *  head  )  [read]

Removes the first element of the event queue

Parameters:
head The head of the event queue
Returns:
The new head of the event queue

Definition at line 38 of file rtcp_events.c.

Referenced by rtcp_handle_event().

struct rtcp_event* rtcp_handle_event ( struct rtcp_event *  event  )  [read]

Handles an RTCP event

Parameters:
event The event to handle
Returns:
The new events queue head

Definition at line 76 of file rtcp_events.c.

References nms_timeval_add(), rtcp_deschedule(), rtcp_interval(), rtcp_schedule(), rtcp_send_bye(), and rtcp_send_rr().

Referenced by rtcp().

Here is the call graph for this function:

struct rtcp_event* rtcp_schedule ( struct rtcp_event *  head,
rtp_session *  rtp_sess,
struct timeval  tv,
rtcp_type_t  type 
) [read]

Schedules an event to be handled

Parameters:
head The event queue on which to schedule it
rtp_sess The session for which to schedule it
tv When to dispatch it
type The event type (
See also:
rtcp.h)
Returns:
The new event queue head

Definition at line 137 of file rtcp_events.c.

References nms_timeval_subtract().

Referenced by rtcp(), and rtcp_handle_event().

Here is the call graph for this function:


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