Wed Apr 6 11:30:12 2011

Asterisk developer's documentation


ast_rtcp Struct Reference

Structure defining an RTCP session. More...


Data Fields

double accumulated_transit
unsigned int expected_prior
unsigned int lastsrtxcount
double maxrtt
double maxrxjitter
double maxrxlost
double minrtt
double minrxjitter
double minrxlost
double normdev_rxjitter
double normdev_rxlost
double normdevrtt
unsigned int received_prior
unsigned int reported_jitter
unsigned int reported_jitter_count
unsigned int reported_lost
double reported_maxjitter
double reported_maxlost
double reported_minjitter
double reported_minlost
double reported_normdev_jitter
double reported_normdev_lost
double reported_stdev_jitter
double reported_stdev_lost
unsigned int rr_count
int rtcp_info
double rtt
unsigned int rtt_count
unsigned int rxjitter_count
double rxlost
unsigned int rxlost_count
timeval rxlsr
int s
int schedid
unsigned int soc
unsigned int spc
unsigned int sr_count
double stdev_rxjitter
double stdev_rxlost
double stdevrtt
ast_sockaddr them
unsigned int themrxlsr
timeval txlsr
ast_sockaddr 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 185 of file res_rtp_asterisk.c.


Field Documentation

double accumulated_transit

accumulated a-dlsr-lsr

Definition at line 201 of file res_rtp_asterisk.c.

Referenced by ast_rtcp_read().

unsigned int expected_prior

no. packets in previous interval

Definition at line 195 of file res_rtp_asterisk.c.

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

unsigned int lastsrtxcount

Transmit packet count when last SR sent

Definition at line 200 of file res_rtp_asterisk.c.

Referenced by ast_rtcp_write(), and ast_rtcp_write_sr().

double maxrtt

Definition at line 229 of file res_rtp_asterisk.c.

Referenced by ast_rtcp_read(), and ast_rtp_get_stat().

double maxrxjitter

Definition at line 224 of file res_rtp_asterisk.c.

Referenced by ast_rtp_get_stat(), and calc_rxstamp().

double maxrxlost

Definition at line 218 of file res_rtp_asterisk.c.

Referenced by ast_rtcp_write_rr(), and ast_rtp_get_stat().

double minrtt

Definition at line 230 of file res_rtp_asterisk.c.

Referenced by ast_rtcp_read(), and ast_rtp_get_stat().

double minrxjitter

Definition at line 225 of file res_rtp_asterisk.c.

Referenced by ast_rtp_get_stat(), and calc_rxstamp().

double minrxlost

Definition at line 219 of file res_rtp_asterisk.c.

Referenced by ast_rtcp_write_rr(), and ast_rtp_get_stat().

double normdev_rxjitter

Definition at line 226 of file res_rtp_asterisk.c.

Referenced by ast_rtp_get_stat(), and calc_rxstamp().

double normdev_rxlost

Definition at line 220 of file res_rtp_asterisk.c.

Referenced by ast_rtcp_write_rr(), and ast_rtp_get_stat().

double normdevrtt

Definition at line 231 of file res_rtp_asterisk.c.

Referenced by ast_rtcp_read(), and ast_rtp_get_stat().

unsigned int received_prior

no. packets received in previous interval

Definition at line 196 of file res_rtp_asterisk.c.

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

unsigned int reported_jitter

The contents of their last jitter entry in the RR

Definition at line 203 of file res_rtp_asterisk.c.

Referenced by ast_rtcp_read(), and ast_rtp_get_stat().

unsigned int reported_jitter_count

Definition at line 210 of file res_rtp_asterisk.c.

Referenced by ast_rtcp_read().

unsigned int reported_lost

Reported lost packets in their RR

Definition at line 204 of file res_rtp_asterisk.c.

Referenced by ast_rtcp_read(), and ast_rtp_get_stat().

double reported_maxjitter

Definition at line 206 of file res_rtp_asterisk.c.

Referenced by ast_rtcp_read(), and ast_rtp_get_stat().

double reported_maxlost

Definition at line 212 of file res_rtp_asterisk.c.

Referenced by ast_rtcp_read(), and ast_rtp_get_stat().

double reported_minjitter

Definition at line 207 of file res_rtp_asterisk.c.

Referenced by ast_rtcp_read(), and ast_rtp_get_stat().

double reported_minlost

Definition at line 213 of file res_rtp_asterisk.c.

Referenced by ast_rtcp_read(), and ast_rtp_get_stat().

double reported_normdev_jitter

Definition at line 208 of file res_rtp_asterisk.c.

Referenced by ast_rtcp_read(), and ast_rtp_get_stat().

double reported_normdev_lost

Definition at line 214 of file res_rtp_asterisk.c.

Referenced by ast_rtcp_read(), and ast_rtp_get_stat().

double reported_stdev_jitter

Definition at line 209 of file res_rtp_asterisk.c.

Referenced by ast_rtcp_read(), and ast_rtp_get_stat().

double reported_stdev_lost

Definition at line 215 of file res_rtp_asterisk.c.

Referenced by ast_rtcp_read(), and ast_rtp_get_stat().

unsigned int rr_count

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

Definition at line 198 of file res_rtp_asterisk.c.

Referenced by ast_rtcp_write_rr().

int rtcp_info

Definition at line 186 of file res_rtp_asterisk.c.

Referenced by ast_rtcp_read().

double rtt

Last reported rtt

Definition at line 202 of file res_rtp_asterisk.c.

Referenced by ast_rtcp_read(), and ast_rtp_get_stat().

unsigned int rtt_count

Definition at line 233 of file res_rtp_asterisk.c.

Referenced by ast_rtcp_read().

unsigned int rxjitter_count

Definition at line 228 of file res_rtp_asterisk.c.

Referenced by calc_rxstamp().

double rxlost

Definition at line 217 of file res_rtp_asterisk.c.

Referenced by ast_rtcp_write_rr().

unsigned int rxlost_count

Definition at line 222 of file res_rtp_asterisk.c.

Referenced by ast_rtcp_write_rr().

struct timeval rxlsr

Time when we got their last SR

Definition at line 193 of file res_rtp_asterisk.c.

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

int s

Socket

Definition at line 187 of file res_rtp_asterisk.c.

Referenced by ast_rtp_destroy(), ast_rtp_fd(), and ast_rtp_prop_set().

int schedid

Schedid returned from ast_sched_add() to schedule RTCP-transmissions

Definition at line 197 of file res_rtp_asterisk.c.

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

unsigned int soc

What they told us

Definition at line 190 of file res_rtp_asterisk.c.

Referenced by ast_rtcp_read().

unsigned int spc

What they told us

Definition at line 191 of file res_rtp_asterisk.c.

Referenced by ast_rtcp_read().

unsigned int sr_count

number of SRs we've sent

Definition at line 199 of file res_rtp_asterisk.c.

Referenced by ast_rtcp_write_sr().

double stdev_rxjitter

Definition at line 227 of file res_rtp_asterisk.c.

Referenced by ast_rtp_get_stat(), and calc_rxstamp().

double stdev_rxlost

Definition at line 221 of file res_rtp_asterisk.c.

Referenced by ast_rtcp_write_rr(), and ast_rtp_get_stat().

double stdevrtt

Definition at line 232 of file res_rtp_asterisk.c.

Referenced by ast_rtcp_read(), and ast_rtp_get_stat().

struct ast_sockaddr them

Socket representation of the remote endpoint.

Definition at line 189 of file res_rtp_asterisk.c.

Referenced by ast_rtcp_read(), ast_rtcp_write_rr(), ast_rtcp_write_sr(), ast_rtp_read(), ast_rtp_remote_address_set(), and ast_rtp_stop().

unsigned int themrxlsr

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

Definition at line 192 of file res_rtp_asterisk.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 194 of file res_rtp_asterisk.c.

Referenced by ast_rtcp_write_sr().

struct ast_sockaddr us

Socket representation of the local endpoint.

Definition at line 188 of file res_rtp_asterisk.c.

Referenced by ast_rtp_prop_set().


The documentation for this struct was generated from the following file:
Generated on Wed Apr 6 11:30:12 2011 for Asterisk - The Open Source Telephony Project by  doxygen 1.4.7