Sat Mar 10 01:55:55 2012

Asterisk developer's documentation


ast_rtp_instance Struct Reference


Data Fields

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

Detailed Description

Structure that represents an RTP session (instance)

Definition at line 48 of file rtp_engine.c.


Field Documentation

struct ast_sockaddr alt_remote_address

Alternate address that we are receiving RTP from

Definition at line 60 of file rtp_engine.c.

Referenced by ast_rtp_instance_set_alt_remote_address().

struct ast_rtp_instance* bridged

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

Definition at line 62 of file rtp_engine.c.

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

struct ast_channel* chan

Channel associated with the instance

Definition at line 74 of file rtp_engine.c.

Referenced by ast_rtp_instance_bridge(), ast_rtp_instance_get_chan(), and ast_rtp_instance_make_compatible().

struct ast_rtp_codecs codecs

Payload and packetization information

Definition at line 64 of file rtp_engine.c.

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

void* data

Data unique to the RTP engine

Definition at line 52 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

Engine that is handling this RTP instance

Definition at line 50 of file rtp_engine.c.

Referenced by ast_rtp_codecs_packetization_set(), ast_rtp_codecs_payloads_clear(), ast_rtp_codecs_payloads_copy(), ast_rtp_codecs_payloads_default(), ast_rtp_codecs_payloads_set_m_type(), ast_rtp_codecs_payloads_set_rtpmap_type_rate(), ast_rtp_codecs_payloads_unset(), ast_rtp_instance_activate(), ast_rtp_instance_available_formats(), ast_rtp_instance_bridge(), ast_rtp_instance_change_source(), ast_rtp_instance_dtmf_begin(), ast_rtp_instance_dtmf_end(), ast_rtp_instance_dtmf_end_with_duration(), ast_rtp_instance_dtmf_mode_get(), ast_rtp_instance_dtmf_mode_set(), ast_rtp_instance_fd(), ast_rtp_instance_get_engine(), ast_rtp_instance_get_extended_prop(), ast_rtp_instance_get_stats(), ast_rtp_instance_make_compatible(), ast_rtp_instance_read(), ast_rtp_instance_sendcng(), ast_rtp_instance_set_alt_remote_address(), ast_rtp_instance_set_extended_prop(), ast_rtp_instance_set_prop(), ast_rtp_instance_set_qos(), ast_rtp_instance_set_read_format(), ast_rtp_instance_set_remote_address(), ast_rtp_instance_set_write_format(), ast_rtp_instance_stop(), ast_rtp_instance_stun_request(), ast_rtp_instance_update_source(), ast_rtp_instance_write(), ast_rtp_red_buffer(), ast_rtp_red_init(), instance_destructor(), and local_bridge_loop().

struct ast_rtp_glue* glue

Glue currently in use

Definition at line 72 of file rtp_engine.c.

Referenced by ast_rtp_instance_bridge(), ast_rtp_instance_get_active_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 68 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 70 of file rtp_engine.c.

Referenced by ast_rtp_instance_get_keepalive(), and ast_rtp_instance_set_keepalive().

struct ast_sockaddr local_address

Address that we are expecting RTP to come in to

Definition at line 56 of file rtp_engine.c.

Referenced by ast_rtp_instance_get_and_cmp_local_address(), ast_rtp_instance_get_local_address(), 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 54 of file rtp_engine.c.

Referenced by ast_rtp_instance_get_prop(), and ast_rtp_instance_set_prop().

struct ast_sockaddr remote_address

Address that we are sending RTP to

Definition at line 58 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

SRTP info associated with the instance

Definition at line 76 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 66 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 Sat Mar 10 01:55:55 2012 for Asterisk - The Open Source Telephony Project by  doxygen 1.4.7