Thu Apr 16 06:48:52 2015

Asterisk developer's documentation


ast_rtp_instance Struct Reference

Collaboration diagram for ast_rtp_instance:

Collaboration graph
[legend]

Data Fields

struct ast_sockaddr alt_remote_address
struct ast_rtp_instancebridged
struct ast_channelchan
struct ast_rtp_codecs codecs
void * data
struct ast_rtp_engineengine
struct ast_rtp_glueglue
int holdtimeout
int keepalive
struct ast_sockaddr local_address
int properties [AST_RTP_PROPERTY_MAX]
struct ast_sockaddr remote_address
struct ast_srtpsrtp
int timeout

Detailed Description

Structure that represents an RTP session (instance)

Definition at line 52 of file rtp_engine.c.


Field Documentation

Alternate address that we are receiving RTP from

Definition at line 64 of file rtp_engine.c.

Referenced by ast_rtp_instance_set_alt_remote_address().

struct ast_rtp_instance* bridged [read]

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

Definition at line 66 of file rtp_engine.c.

Referenced by ast_rtp_instance_get_bridged(), local_bridge_loop(), and remote_bridge_loop().

struct ast_channel* chan [read]

Channel associated with the instance

Definition at line 78 of file rtp_engine.c.

Referenced by ast_rtp_instance_bridge(), and ast_rtp_instance_get_chan().

struct ast_rtp_codecs codecs [read]

void* data

Data unique to the RTP engine

Definition at line 56 of file rtp_engine.c.

Referenced by ast_rtp_instance_get_data(), ast_rtp_instance_set_data(), and instance_destructor().

struct ast_rtp_engine* engine [read]

struct ast_rtp_glue* glue [read]

Glue currently in use

Definition at line 76 of file rtp_engine.c.

Referenced by ast_rtp_instance_bridge(), and ast_rtp_instance_get_active_glue().

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

Definition at line 72 of file rtp_engine.c.

Referenced by ast_rtp_instance_get_hold_timeout(), and ast_rtp_instance_set_hold_timeout().

int keepalive

RTP keepalive interval

Definition at line 74 of file rtp_engine.c.

Referenced by ast_rtp_instance_get_keepalive(), and ast_rtp_instance_set_keepalive().

struct ast_sockaddr local_address [read]

Address that we are expecting RTP to come in to

Definition at line 60 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 58 of file rtp_engine.c.

Referenced by ast_rtp_instance_get_prop(), and ast_rtp_instance_set_prop().

Address that we are sending RTP to

Definition at line 62 of file rtp_engine.c.

Referenced by ast_rtp_instance_get_and_cmp_remote_address(), ast_rtp_instance_get_remote_address(), and ast_rtp_instance_set_remote_address().

struct ast_srtp* srtp [read]

SRTP info associated with the instance

Definition at line 80 of file rtp_engine.c.

Referenced by ast_rtp_instance_add_srtp_policy(), ast_rtp_instance_get_srtp(), and instance_destructor().

int timeout

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

Definition at line 70 of file rtp_engine.c.

Referenced by ast_rtp_instance_get_timeout(), and ast_rtp_instance_set_timeout().


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

Generated on Thu Apr 16 06:48:53 2015 for Asterisk - The Open Source Telephony Project by  doxygen 1.5.6