Mon Mar 19 11:30:59 2012

Asterisk developer's documentation


rtp_red Struct Reference


Data Fields

unsigned char buf_data [64000]
int hdrlen
unsigned char len [AST_RED_MAX_GENERATION]
int num_gen
long int prev_ts
unsigned char pt [AST_RED_MAX_GENERATION]
int schedid
ast_frame t140
ast_frame t140red
unsigned char t140red_data [64000]
int ti
unsigned char ts [AST_RED_MAX_GENERATION]

Detailed Description

Definition at line 253 of file res_rtp_asterisk.c.


Field Documentation

unsigned char buf_data[64000]

buffered primary data

Definition at line 263 of file res_rtp_asterisk.c.

Referenced by rtp_red_buffer(), and rtp_red_init().

int hdrlen

Definition at line 264 of file res_rtp_asterisk.c.

Referenced by red_t140_to_red(), and rtp_red_init().

unsigned char len[AST_RED_MAX_GENERATION]

length of each generation

Definition at line 258 of file res_rtp_asterisk.c.

Referenced by red_t140_to_red().

int num_gen

Number of generations

Definition at line 259 of file res_rtp_asterisk.c.

Referenced by red_t140_to_red(), and rtp_red_init().

long int prev_ts

Definition at line 265 of file res_rtp_asterisk.c.

Referenced by rtp_red_init().

unsigned char pt[AST_RED_MAX_GENERATION]

Payload types for redundancy data

Definition at line 256 of file res_rtp_asterisk.c.

Referenced by rtp_red_init().

int schedid

Timer id

Definition at line 260 of file res_rtp_asterisk.c.

Referenced by ast_rtp_destroy(), ast_rtp_stop(), and rtp_red_init().

struct ast_frame t140

Primary data

Definition at line 254 of file res_rtp_asterisk.c.

Referenced by red_t140_to_red(), red_write(), rtp_red_buffer(), and rtp_red_init().

struct ast_frame t140red

Redundant t140

Definition at line 255 of file res_rtp_asterisk.c.

Referenced by red_t140_to_red(), and rtp_red_init().

unsigned char t140red_data[64000]

Definition at line 262 of file res_rtp_asterisk.c.

Referenced by rtp_red_init().

int ti

How long to buffer data before send

Definition at line 261 of file res_rtp_asterisk.c.

Referenced by rtp_red_init().

unsigned char ts[AST_RED_MAX_GENERATION]

Time stamps

Definition at line 257 of file res_rtp_asterisk.c.


The documentation for this struct was generated from the following file:
Generated on Mon Mar 19 11:30:59 2012 for Asterisk - The Open Source Telephony Project by  doxygen 1.4.7