Thu Apr 16 06:48:51 2015

Asterisk developer's documentation


ast_rtcp Struct Reference

Structure defining an RTCP session. More...

Collaboration diagram for ast_rtcp:

Collaboration graph
[legend]

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
struct timeval rxlsr
int s
int schedid
unsigned int soc
unsigned int spc
unsigned int sr_count
double stdev_rxjitter
double stdev_rxlost
double stdevrtt
struct ast_sockaddr them
unsigned int themrxlsr
struct timeval txlsr
struct 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 204 of file res_rtp_asterisk.c.


Field Documentation

accumulated a-dlsr-lsr

Definition at line 220 of file res_rtp_asterisk.c.

Referenced by ast_rtcp_read().

unsigned int expected_prior

no. packets in previous interval

Definition at line 214 of file res_rtp_asterisk.c.

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

unsigned int lastsrtxcount

Transmit packet count when last SR sent

Definition at line 219 of file res_rtp_asterisk.c.

Referenced by ast_rtcp_write(), and ast_rtcp_write_sr().

double maxrtt

Definition at line 248 of file res_rtp_asterisk.c.

Referenced by ast_rtcp_read(), and ast_rtp_get_stat().

double maxrxjitter

Definition at line 243 of file res_rtp_asterisk.c.

Referenced by ast_rtp_get_stat(), and calc_rxstamp().

double maxrxlost

Definition at line 237 of file res_rtp_asterisk.c.

Referenced by ast_rtcp_write_rr(), and ast_rtp_get_stat().

double minrtt

Definition at line 249 of file res_rtp_asterisk.c.

Referenced by ast_rtcp_read(), and ast_rtp_get_stat().

double minrxjitter

Definition at line 244 of file res_rtp_asterisk.c.

Referenced by ast_rtp_get_stat(), and calc_rxstamp().

double minrxlost

Definition at line 238 of file res_rtp_asterisk.c.

Referenced by ast_rtcp_write_rr(), and ast_rtp_get_stat().

Definition at line 245 of file res_rtp_asterisk.c.

Referenced by ast_rtp_get_stat(), and calc_rxstamp().

Definition at line 239 of file res_rtp_asterisk.c.

Referenced by ast_rtcp_write_rr(), and ast_rtp_get_stat().

double normdevrtt

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

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

unsigned int reported_jitter

The contents of their last jitter entry in the RR

Definition at line 222 of file res_rtp_asterisk.c.

Referenced by ast_rtcp_read(), and ast_rtp_get_stat().

unsigned int reported_jitter_count

Definition at line 229 of file res_rtp_asterisk.c.

Referenced by ast_rtcp_read().

unsigned int reported_lost

Reported lost packets in their RR

Definition at line 223 of file res_rtp_asterisk.c.

Referenced by ast_rtcp_read(), and ast_rtp_get_stat().

Definition at line 225 of file res_rtp_asterisk.c.

Referenced by ast_rtcp_read(), and ast_rtp_get_stat().

Definition at line 231 of file res_rtp_asterisk.c.

Referenced by ast_rtcp_read(), and ast_rtp_get_stat().

Definition at line 226 of file res_rtp_asterisk.c.

Referenced by ast_rtcp_read(), and ast_rtp_get_stat().

Definition at line 232 of file res_rtp_asterisk.c.

Referenced by ast_rtcp_read(), and ast_rtp_get_stat().

Definition at line 227 of file res_rtp_asterisk.c.

Referenced by ast_rtcp_read(), and ast_rtp_get_stat().

Definition at line 233 of file res_rtp_asterisk.c.

Referenced by ast_rtcp_read(), and ast_rtp_get_stat().

Definition at line 228 of file res_rtp_asterisk.c.

Referenced by ast_rtcp_read(), and ast_rtp_get_stat().

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

Referenced by ast_rtcp_write_rr().

int rtcp_info

Definition at line 205 of file res_rtp_asterisk.c.

Referenced by ast_rtcp_read().

double rtt

Last reported rtt

Definition at line 221 of file res_rtp_asterisk.c.

Referenced by ast_rtcp_read(), and ast_rtp_get_stat().

unsigned int rtt_count

Definition at line 252 of file res_rtp_asterisk.c.

Referenced by ast_rtcp_read().

unsigned int rxjitter_count

Definition at line 247 of file res_rtp_asterisk.c.

Referenced by calc_rxstamp().

double rxlost

Definition at line 236 of file res_rtp_asterisk.c.

Referenced by ast_rtcp_write_rr().

unsigned int rxlost_count

Definition at line 241 of file res_rtp_asterisk.c.

Referenced by ast_rtcp_write_rr().

struct timeval rxlsr [read]

Time when we got their last SR

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

Referenced by __rtp_recvfrom(), __rtp_sendto(), 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 216 of file res_rtp_asterisk.c.

Referenced by ast_rtcp_write(), 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 209 of file res_rtp_asterisk.c.

Referenced by ast_rtcp_read().

unsigned int spc

What they told us

Definition at line 210 of file res_rtp_asterisk.c.

Referenced by ast_rtcp_read().

unsigned int sr_count

number of SRs we've sent

Definition at line 218 of file res_rtp_asterisk.c.

Referenced by ast_rtcp_write_sr().

Definition at line 246 of file res_rtp_asterisk.c.

Referenced by ast_rtp_get_stat(), and calc_rxstamp().

double stdev_rxlost

Definition at line 240 of file res_rtp_asterisk.c.

Referenced by ast_rtcp_write_rr(), and ast_rtp_get_stat().

double stdevrtt

Definition at line 251 of file res_rtp_asterisk.c.

Referenced by ast_rtcp_read(), and ast_rtp_get_stat().

struct ast_sockaddr them [read]

Socket representation of the remote endpoint.

Definition at line 208 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 211 of file res_rtp_asterisk.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 213 of file res_rtp_asterisk.c.

Referenced by ast_rtcp_write_sr().

struct ast_sockaddr us [read]

Socket representation of the local endpoint.

Definition at line 207 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 Thu Apr 16 06:48:51 2015 for Asterisk - The Open Source Telephony Project by  doxygen 1.5.6