|
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) |
| void rtcp_clean_events | ( | void * | events | ) |
Removes all the pending events from the event queue
| 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
| head | The 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
| event | The event to handle |
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().

| 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
| 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 ( |
Definition at line 137 of file rtcp_events.c.
References nms_timeval_subtract().
Referenced by rtcp(), and rtcp_handle_event().

1.5.4