Mon Jun 27 16:51:25 2011

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 236 of file res_rtp_asterisk.c.


Field Documentation

unsigned char buf_data[64000]

buffered primary data

Definition at line 246 of file res_rtp_asterisk.c.

Referenced by rtp_red_buffer(), and rtp_red_init().

int hdrlen

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

Referenced by red_t140_to_red().

int num_gen

Number of generations

Definition at line 242 of file res_rtp_asterisk.c.

Referenced by red_t140_to_red(), and rtp_red_init().

long int prev_ts

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

Referenced by rtp_red_init().

int schedid

Timer id

Definition at line 243 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 237 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 238 of file res_rtp_asterisk.c.

Referenced by red_t140_to_red(), and rtp_red_init().

unsigned char t140red_data[64000]

Definition at line 245 of file res_rtp_asterisk.c.

Referenced by rtp_red_init().

int ti

How long to buffer data before send

Definition at line 244 of file res_rtp_asterisk.c.

Referenced by rtp_red_init().

unsigned char ts[AST_RED_MAX_GENERATION]

Time stamps

Definition at line 240 of file res_rtp_asterisk.c.


The documentation for this struct was generated from the following file:
Generated on Mon Jun 27 16:51:25 2011 for Asterisk - The Open Source Telephony Project by  doxygen 1.4.7