Asterisk - The Open Source Telephony Project  18.5.0
Public Member Functions | Data Fields
ast_rtp_instance Struct Reference
Collaboration diagram for ast_rtp_instance:
Collaboration graph
[legend]

Public Member Functions

 AST_VECTOR (, enum ast_rtp_extension_direction) extmap_enabled
 

Data Fields

struct ast_rtp_instancebridged
 
char channel_uniqueid [AST_MAX_UNIQUEID]
 
struct ast_rtp_codecs codecs
 
void * data
 
struct ast_rtp_engineengine
 
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 189 of file rtp_engine.c.

Member Function Documentation

◆ AST_VECTOR()

AST_VECTOR ( enum  ast_rtp_extension_direction)

Enabled RTP extensions

Field Documentation

◆ bridged

struct ast_rtp_instance* bridged

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

Definition at line 203 of file rtp_engine.c.

Referenced by ast_rtp_instance_get_bridged(), and ast_rtp_instance_set_bridged().

◆ channel_uniqueid

char channel_uniqueid[AST_MAX_UNIQUEID]

◆ codecs

struct ast_rtp_codecs codecs

Payload and packetization information

Definition at line 205 of file rtp_engine.c.

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

◆ data

void* data

Data unique to the RTP engine

Definition at line 193 of file rtp_engine.c.

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

◆ engine

struct ast_rtp_engine* engine

Engine that is handling this RTP instance

Definition at line 191 of file rtp_engine.c.

Referenced by ast_rtp_codecs_payloads_clear(), ast_rtp_codecs_payloads_set_m_type(), ast_rtp_codecs_payloads_set_rtpmap_type_rate(), ast_rtp_codecs_payloads_unset(), ast_rtp_codecs_payloads_xover(), ast_rtp_instance_activate(), ast_rtp_instance_available_formats(), ast_rtp_instance_bundle(), 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_extmap_enable(), ast_rtp_instance_fd(), ast_rtp_instance_get_cname(), ast_rtp_instance_get_dtls(), ast_rtp_instance_get_engine(), ast_rtp_instance_get_extended_prop(), ast_rtp_instance_get_ice(), ast_rtp_instance_get_ssrc(), ast_rtp_instance_get_stats(), ast_rtp_instance_get_test(), ast_rtp_instance_make_compatible(), ast_rtp_instance_new(), ast_rtp_instance_read(), ast_rtp_instance_sendcng(), 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_ssrc(), ast_rtp_instance_set_stream_num(), 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(), rtp_codecs_payloads_copy_rx(), rtp_codecs_payloads_copy_tx(), rtp_dtls_wrap_active(), rtp_dtls_wrap_get_connection(), rtp_dtls_wrap_get_fingerprint(), rtp_dtls_wrap_get_fingerprint_hash(), rtp_dtls_wrap_get_setup(), rtp_dtls_wrap_reset(), rtp_dtls_wrap_set_configuration(), rtp_dtls_wrap_set_fingerprint(), rtp_dtls_wrap_set_setup(), rtp_dtls_wrap_stop(), rtp_ice_wrap_add_remote_candidate(), rtp_ice_wrap_change_components(), rtp_ice_wrap_get_local_candidates(), rtp_ice_wrap_get_password(), rtp_ice_wrap_get_ufrag(), rtp_ice_wrap_ice_lite(), rtp_ice_wrap_set_authentication(), rtp_ice_wrap_set_role(), rtp_ice_wrap_start(), rtp_ice_wrap_stop(), rtp_ice_wrap_turn_request(), and rtp_instance_set_incoming_source_address_nolock().

◆ glue

struct ast_rtp_glue* glue

Glue currently in use

Definition at line 213 of file rtp_engine.c.

Referenced by ast_rtp_instance_get_active_glue().

◆ holdtimeout

int holdtimeout

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

Definition at line 209 of file rtp_engine.c.

Referenced by ast_rtp_instance_get_hold_timeout(), and ast_rtp_instance_set_hold_timeout().

◆ incoming_source_address

struct ast_sockaddr incoming_source_address

Address that we are sending RTP to

Definition at line 201 of file rtp_engine.c.

Referenced by ast_rtp_instance_get_incoming_source_address(), and rtp_instance_set_incoming_source_address_nolock().

◆ keepalive

int keepalive

RTP keepalive interval

Definition at line 211 of file rtp_engine.c.

Referenced by ast_rtp_instance_get_keepalive(), and ast_rtp_instance_set_keepalive().

◆ last_rx

time_t last_rx

Time of last packet received

Definition at line 223 of file rtp_engine.c.

Referenced by ast_rtp_instance_get_last_rx(), and ast_rtp_instance_set_last_rx().

◆ last_tx

time_t last_tx

Time of last packet sent

Definition at line 221 of file rtp_engine.c.

Referenced by ast_rtp_instance_get_last_tx(), and ast_rtp_instance_set_last_tx().

◆ local_address

struct ast_sockaddr local_address

Address that we are expecting RTP to come in to

Definition at line 197 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().

◆ properties

int properties[AST_RTP_PROPERTY_MAX]

RTP properties that have been set and their value

Definition at line 195 of file rtp_engine.c.

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

◆ requested_target_address

struct ast_sockaddr requested_target_address

◆ rtcp_srtp

struct ast_srtp* rtcp_srtp

SRTP info dedicated for RTCP associated with the instance

Definition at line 217 of file rtp_engine.c.

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

◆ srtp

struct ast_srtp* srtp

SRTP info associated with the instance

Definition at line 215 of file rtp_engine.c.

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

◆ timeout

int timeout

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

Definition at line 207 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: