Wed Oct 28 11:46:46 2009

Asterisk developer's documentation


ast_rtcp Struct Reference

Structure defining an RTCP session. More...


Data Fields

double accumulated_transit
struct sockaddr_in altthem
unsigned int expected_prior
unsigned int lastsrtxcount
double maxrtt
double maxrxjitter
double minrtt
double minrxjitter
char quality [AST_MAX_USER_FIELD]
unsigned int received_prior
unsigned int reported_jitter
unsigned int reported_lost
unsigned int rr_count
double rtt
struct timeval rxlsr
int s
int schedid
int sendfur
unsigned int soc
unsigned int spc
unsigned int sr_count
struct sockaddr_in them
unsigned int themrxlsr
struct timeval txlsr
struct sockaddr_in us


Detailed Description

Structure defining an RTCP session.

The concept "RTCP session" is not defined in RFC 3550, but since this structure is analogous to ast_rtp, which tracks a RTP session, it is logical to think of this as a RTCP session.

RTCP packet is defined on page 9 of RFC 3550.

Definition at line 215 of file rtp.c.


Field Documentation

accumulated a-dlsr-lsr

Definition at line 231 of file rtp.c.

Referenced by ast_rtcp_read().

struct sockaddr_in altthem [read]

Alternate source for RTCP

Definition at line 219 of file rtp.c.

Referenced by ast_rtcp_read(), and ast_rtp_set_alt_peer().

unsigned int expected_prior

no. packets in previous interval

Definition at line 225 of file rtp.c.

Referenced by ast_rtcp_write_rr(), ast_rtcp_write_sr(), ast_rtp_destroy(), and ast_rtp_get_quality().

unsigned int lastsrtxcount

Transmit packet count when last SR sent

Definition at line 230 of file rtp.c.

Referenced by ast_rtcp_write(), and ast_rtcp_write_sr().

double maxrtt

Definition at line 238 of file rtp.c.

Referenced by ast_rtcp_read().

double maxrxjitter

Definition at line 236 of file rtp.c.

Referenced by calc_rxstamp().

double minrtt

Definition at line 239 of file rtp.c.

Referenced by ast_rtcp_read().

double minrxjitter

Definition at line 237 of file rtp.c.

Referenced by calc_rxstamp().

char quality[AST_MAX_USER_FIELD]

Definition at line 235 of file rtp.c.

Referenced by ast_rtp_get_quality().

unsigned int received_prior

no. packets received in previous interval

Definition at line 226 of file rtp.c.

Referenced by ast_rtcp_write_rr(), ast_rtcp_write_sr(), ast_rtp_destroy(), and ast_rtp_get_quality().

unsigned int reported_jitter

The contents of their last jitter entry in the RR

Definition at line 233 of file rtp.c.

Referenced by ast_rtcp_read(), ast_rtp_destroy(), and ast_rtp_get_quality().

unsigned int reported_lost

Reported lost packets in their RR

Definition at line 234 of file rtp.c.

Referenced by ast_rtcp_read(), ast_rtp_destroy(), and ast_rtp_get_quality().

unsigned int rr_count

number of RRs we've sent, not including report blocks in SR's

Definition at line 228 of file rtp.c.

Referenced by ast_rtcp_write_rr(), and ast_rtp_destroy().

double rtt

Last reported rtt

Definition at line 232 of file rtp.c.

Referenced by ast_rtcp_read(), ast_rtp_destroy(), and ast_rtp_get_quality().

struct timeval rxlsr [read]

Time when we got their last SR

Definition at line 223 of file rtp.c.

Referenced by ast_rtcp_read(), ast_rtcp_write_rr(), and ast_rtcp_write_sr().

int s

int schedid

Schedid returned from ast_sched_add() to schedule RTCP-transmissions

Definition at line 227 of file rtp.c.

Referenced by ast_rtcp_new(), ast_rtcp_write_rr(), ast_rtcp_write_sr(), ast_rtp_destroy(), ast_rtp_raw_write(), ast_rtp_read(), and ast_rtp_stop().

int sendfur

Definition at line 240 of file rtp.c.

Referenced by ast_rtcp_send_h261fur(), ast_rtcp_write_rr(), and ast_rtcp_write_sr().

unsigned int soc

What they told us

Definition at line 220 of file rtp.c.

Referenced by ast_rtcp_read().

unsigned int spc

What they told us

Definition at line 221 of file rtp.c.

Referenced by ast_rtcp_read().

unsigned int sr_count

number of SRs we've sent

Definition at line 229 of file rtp.c.

Referenced by ast_rtcp_write_sr(), and ast_rtp_destroy().

struct sockaddr_in them [read]

Socket representation of the remote endpoint.

Definition at line 218 of file rtp.c.

Referenced by ast_rtcp_new(), ast_rtcp_read(), ast_rtcp_write_rr(), ast_rtcp_write_sr(), ast_rtp_raw_write(), ast_rtp_read(), ast_rtp_set_peer(), and ast_rtp_stop().

unsigned int themrxlsr

The middle 32 bits of the NTP timestamp in the last received SR

Definition at line 222 of file rtp.c.

Referenced by ast_rtcp_read(), ast_rtcp_write_rr(), and ast_rtcp_write_sr().

struct timeval txlsr [read]

Time when we sent or last SR

Definition at line 224 of file rtp.c.

Referenced by ast_rtcp_write_sr().

struct sockaddr_in us [read]

Socket representation of the local endpoint.

Definition at line 217 of file rtp.c.

Referenced by ast_rtcp_new(), and ast_rtp_new_with_bindaddr().


The documentation for this struct was generated from the following file:

Generated on Wed Oct 28 11:46:46 2009 for Asterisk - the Open Source PBX by  doxygen 1.5.6