Codename Pineapple

Home page | Mailing list | Docs

Last updated: Sat Feb 3 05:02:00 2007

Asterisk developer's documentation :: Codename Pineapple


ast_rtcp Struct Reference


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 209 of file rtp.c.

Data Fields

double accumulated_transit
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
timeval rxlsr
int s
int schedid
int sendfur
unsigned int soc
unsigned int spc
unsigned int sr_count
sockaddr_in them
unsigned int themrxlsr
timeval txlsr
sockaddr_in us


Field Documentation

double accumulated_transit
 

accumulated a-dlsr-lsr

Definition at line 224 of file rtp.c.

Referenced by ast_rtcp_read().

unsigned int expected_prior
 

no. packets in previous interval

Definition at line 218 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 223 of file rtp.c.

Referenced by ast_rtcp_write(), and ast_rtcp_write_sr().

double maxrtt
 

Definition at line 231 of file rtp.c.

Referenced by ast_rtcp_read().

double maxrxjitter
 

Definition at line 229 of file rtp.c.

Referenced by calc_rxstamp().

double minrtt
 

Definition at line 232 of file rtp.c.

Referenced by ast_rtcp_read().

double minrxjitter
 

Definition at line 230 of file rtp.c.

Referenced by calc_rxstamp().

char quality[AST_MAX_USER_FIELD]
 

Definition at line 228 of file rtp.c.

Referenced by ast_rtp_get_quality().

unsigned int received_prior
 

no. packets received in previous interval

Definition at line 219 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 226 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 227 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 221 of file rtp.c.

Referenced by ast_rtcp_write_rr(), and ast_rtp_destroy().

double rtt
 

Last reported rtt

Definition at line 225 of file rtp.c.

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

struct timeval rxlsr
 

Time when we got their last SR

Definition at line 216 of file rtp.c.

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

int s
 

Socket

Definition at line 210 of file rtp.c.

Referenced by ast_rtcp_fd(), ast_rtcp_new(), ast_rtcp_read(), ast_rtcp_write_rr(), ast_rtcp_write_sr(), and ast_rtp_destroy().

int schedid
 

Schedid returned from ast_sched_add() to schedule RTCP-transmissions

Definition at line 220 of file rtp.c.

Referenced by 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 233 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 213 of file rtp.c.

Referenced by ast_rtcp_read().

unsigned int spc
 

What they told us

Definition at line 214 of file rtp.c.

Referenced by ast_rtcp_read().

unsigned int sr_count
 

number of SRs we've sent

Definition at line 222 of file rtp.c.

Referenced by ast_rtcp_write_sr(), and ast_rtp_destroy().

struct sockaddr_in them
 

Socket representation of the remote endpoint.

Definition at line 212 of file rtp.c.

Referenced by ast_rtcp_read(), ast_rtcp_write_rr(), ast_rtcp_write_sr(), 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 215 of file rtp.c.

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

struct timeval txlsr
 

Time when we sent or last SR

Definition at line 217 of file rtp.c.

Referenced by ast_rtcp_write_sr().

struct sockaddr_in us
 

Socket representation of the local endpoint.

Definition at line 211 of file rtp.c.


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

Asterisk is a trademark for Digium, inc.. | Edvina.net | Asterisk.org | This documentation was generated with Doxygen