Asterisk - The Open Source Telephony Project  21.4.1
Data Fields
ast_rtp_instance Struct Reference

Data Fields

struct ast_rtp_instancebridged
 
char channel_uniqueid [AST_MAX_UNIQUEID]
 
struct ast_rtp_codecs codecs
 
void * data
 
struct ast_rtp_engineengine
 
struct {
   size_t   current
 
   enum ast_rtp_extension_direction *   elems
 
   size_t   max
 
extmap_enabled
 
struct {
   size_t   current
 
   int *   elems
 
   size_t   max
 
extmap_negotiated
 
struct {
   size_t   current
 
   struct rtp_extmap *   elems
 
   size_t   max
 
extmap_unique_ids
 
struct ast_rtp_glueglue
 
int holdtimeout
 
struct ast_sockaddr incoming_source_address
 
int keepalive
 
time_t last_rx
 
time_t last_tx
 
struct ast_sockaddr local_address
 
int properties [AST_RTP_PROPERTY_MAX]
 
struct ast_sockaddr requested_target_address
 
struct ast_srtprtcp_srtp
 
struct ast_srtpsrtp
 
int timeout
 

Detailed Description

Structure that represents an RTP session (instance)

Definition at line 188 of file rtp_engine.c.

Field Documentation

struct ast_rtp_instance* bridged

Instance that we are bridged to if doing remote or local bridging

Definition at line 202 of file rtp_engine.c.

Referenced by ast_rtp_instance_get_bridged(), and ast_rtp_instance_set_bridged().

char channel_uniqueid[AST_MAX_UNIQUEID]
struct ast_rtp_codecs codecs

Payload and packetization information

Definition at line 204 of file rtp_engine.c.

Referenced by ast_rtp_instance_early_bridge_make_compatible(), ast_rtp_instance_get_codecs(), and ast_rtp_instance_new().

void* data

Data unique to the RTP engine

Definition at line 192 of file rtp_engine.c.

Referenced by ast_rtp_instance_get_data(), and ast_rtp_instance_set_data().

struct ast_rtp_engine* engine
struct { ... } extmap_enabled
struct { ... } extmap_negotiated
struct { ... } extmap_unique_ids
struct ast_rtp_glue* glue

Glue currently in use

Definition at line 212 of file rtp_engine.c.

Referenced by ast_rtp_instance_get_active_glue(), ast_rtp_instance_get_glue(), and ast_rtp_instance_make_compatible().

int holdtimeout

RTP timeout when on hold (negative or zero means disabled, negative value means temporarily disabled).

Definition at line 208 of file rtp_engine.c.

Referenced by ast_rtp_instance_get_hold_timeout(), and ast_rtp_instance_set_hold_timeout().

struct ast_sockaddr incoming_source_address

Address that we are sending RTP to

Definition at line 200 of file rtp_engine.c.

Referenced by ast_rtp_instance_get_incoming_source_address().

int keepalive

RTP keepalive interval

Definition at line 210 of file rtp_engine.c.

Referenced by ast_rtp_instance_get_keepalive(), and ast_rtp_instance_set_keepalive().

time_t last_rx

Time of last packet received

Definition at line 222 of file rtp_engine.c.

Referenced by ast_rtp_instance_get_last_rx(), and ast_rtp_instance_set_last_rx().

time_t last_tx

Time of last packet sent

Definition at line 220 of file rtp_engine.c.

Referenced by ast_rtp_instance_get_last_tx(), and ast_rtp_instance_set_last_tx().

struct ast_sockaddr local_address

Address that we are expecting RTP to come in to

Definition at line 196 of file rtp_engine.c.

Referenced by ast_rtp_instance_get_and_cmp_local_address(), ast_rtp_instance_get_local_address(), ast_rtp_instance_new(), and ast_rtp_instance_set_local_address().

int properties[AST_RTP_PROPERTY_MAX]

RTP properties that have been set and their value

Definition at line 194 of file rtp_engine.c.

Referenced by ast_rtp_instance_get_prop(), ast_rtp_instance_set_prop(), and Model::discriminator().

struct ast_sockaddr requested_target_address
struct ast_srtp* rtcp_srtp

SRTP info dedicated for RTCP associated with the instance

Definition at line 216 of file rtp_engine.c.

Referenced by ast_rtp_instance_add_srtp_policy(), and ast_rtp_instance_get_srtp().

struct ast_srtp* srtp

SRTP info associated with the instance

Definition at line 214 of file rtp_engine.c.

Referenced by ast_rtp_instance_add_srtp_policy(), and ast_rtp_instance_get_srtp().

int timeout

RTP timeout time (negative or zero means disabled, negative value means temporarily disabled)

Definition at line 206 of file rtp_engine.c.

Referenced by ast_rtp_instance_get_timeout(), ast_rtp_instance_set_hold_timeout(), and ast_rtp_instance_set_timeout().


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