switch_rtp Struct Reference

Collaboration diagram for switch_rtp:
[legend]

Data Fields

switch_socket_tsock_input
switch_socket_tsock_output
switch_socket_trtcp_sock_input
switch_socket_trtcp_sock_output
switch_pollfd_tread_pollfd
switch_pollfd_trtcp_read_pollfd
switch_pollfd_tjb_pollfd
switch_sockaddr_tlocal_addr
switch_sockaddr_trtcp_local_addr
rtp_msg_t send_msg
rtcp_msg_t rtcp_send_msg
switch_sockaddr_tremote_addr
switch_sockaddr_trtcp_remote_addr
rtp_msg_t recv_msg
rtcp_msg_t rtcp_recv_msg
switch_sockaddr_tremote_stun_addr
uint32_t autoadj_window
uint32_t autoadj_tally
srtp_ctx_t * send_ctx
srtp_ctx_t * recv_ctx
srtp_policy_t send_policy
srtp_policy_t recv_policy
uint32_t srtp_errs
uint16_t seq
uint32_t ssrc
int8_t sending_dtmf
uint8_t need_mark
switch_payload_t payload
switch_payload_t rpayload
switch_rtp_invalid_handler_t invalid_handler
void * private_data
uint32_t ts
uint32_t last_write_ts
uint32_t last_read_ts
uint32_t last_cng_ts
uint32_t last_write_samplecount
uint32_t delay_samples
uint32_t next_write_samplecount
uint32_t max_next_write_samplecount
uint32_t queue_delay
switch_time_t last_write_timestamp
uint32_t flags
switch_memory_pool_tpool
switch_sockaddr_tfrom_addr
switch_sockaddr_trtcp_from_addr
char * rx_host
switch_port_t rx_port
char * ice_user
char * user_ice
char * timer_name
char * local_host_str
char * remote_host_str
char * eff_remote_host_str
switch_time_t last_stun
uint32_t samples_per_interval
uint32_t samples_per_second
uint32_t conf_samples_per_interval
uint32_t rsamples_per_interval
uint32_t ms_per_packet
switch_port_t local_port
switch_port_t remote_port
switch_port_t eff_remote_port
switch_port_t remote_rtcp_port
uint32_t stuncount
uint32_t funny_stun
uint32_t default_stuncount
switch_rtp_vad_data vad_data
switch_rtp_rfc2833_data dtmf_data
switch_payload_t te
switch_payload_t recv_te
switch_payload_t cng_pt
switch_mutex_tflag_mutex
switch_mutex_tread_mutex
switch_mutex_twrite_mutex
switch_timer_t timer
uint8_t ready
uint8_t cn
stfu_instance_t * jb
uint32_t max_missed_packets
uint32_t missed_count
rtp_msg_t write_msg
switch_rtp_crypto_key_tcrypto_keys [SWITCH_RTP_CRYPTO_MAX]
int reading
int writing
char * stun_ip
switch_port_t stun_port
int from_auto
uint32_t cng_count
switch_rtp_bug_flag_t rtp_bugs
switch_rtp_stats_t stats
uint32_t hot_hits
uint32_t sync_packets
int rtcp_interval
switch_bool_t rtcp_fresh_frame
switch_time_t send_time
switch_byte_t auto_adj_used
uint8_t pause_jb
uint16_t last_seq
switch_time_t last_read_time
switch_size_t last_flush_packet_count
uint32_t interdigit_delay

Detailed Description

Definition at line 152 of file switch_rtp.c.


Field Documentation

switch_byte_t switch_rtp::auto_adj_used

Definition at line 254 of file switch_rtp.c.

Referenced by rtp_common_read().

uint32_t switch_rtp::autoadj_tally

Definition at line 174 of file switch_rtp.c.

Referenced by rtp_common_read().

uint32_t switch_rtp::autoadj_window

Definition at line 173 of file switch_rtp.c.

Referenced by rtp_common_read().

uint8_t switch_rtp::cn

Definition at line 234 of file switch_rtp.c.

Referenced by rtp_common_read(), and rtp_common_write().

uint32_t switch_rtp::cng_count

Definition at line 245 of file switch_rtp.c.

switch_payload_t switch_rtp::cng_pt

Definition at line 228 of file switch_rtp.c.

Referenced by read_rtp_packet(), rtp_common_read(), and rtp_common_write().

uint32_t switch_rtp::conf_samples_per_interval

Definition at line 214 of file switch_rtp.c.

switch_rtp_crypto_key_t* switch_rtp::crypto_keys[SWITCH_RTP_CRYPTO_MAX]

Definition at line 239 of file switch_rtp.c.

uint32_t switch_rtp::default_stuncount

Definition at line 223 of file switch_rtp.c.

Referenced by do_stun_ping(), and ice_out().

uint32_t switch_rtp::delay_samples

Definition at line 195 of file switch_rtp.c.

Referenced by rtp_common_write().

struct switch_rtp_rfc2833_data switch_rtp::dtmf_data

Definition at line 225 of file switch_rtp.c.

Referenced by do_2833(), handle_rfc2833(), and rtp_common_read().

char* switch_rtp::eff_remote_host_str

Definition at line 210 of file switch_rtp.c.

Referenced by enable_remote_rtcp_socket().

switch_port_t switch_rtp::eff_remote_port

Definition at line 219 of file switch_rtp.c.

switch_mutex_t* switch_rtp::flag_mutex

Definition at line 229 of file switch_rtp.c.

Referenced by switch_rtp_new().

uint32_t switch_rtp::flags

Definition at line 200 of file switch_rtp.c.

switch_sockaddr_t* switch_rtp::from_addr

Definition at line 202 of file switch_rtp.c.

Referenced by do_flush(), enable_local_rtcp_socket(), handle_ice(), read_rtp_packet(), rtp_common_read(), and rtp_common_write().

int switch_rtp::from_auto

Definition at line 244 of file switch_rtp.c.

uint32_t switch_rtp::funny_stun

Definition at line 222 of file switch_rtp.c.

Referenced by do_stun_ping().

uint32_t switch_rtp::hot_hits

Definition at line 248 of file switch_rtp.c.

char* switch_rtp::ice_user

Definition at line 205 of file switch_rtp.c.

Referenced by ice_out(), rtp_common_read(), and rtp_common_write().

uint32_t switch_rtp::interdigit_delay

Definition at line 259 of file switch_rtp.c.

Referenced by do_2833().

switch_rtp_invalid_handler_t switch_rtp::invalid_handler

Definition at line 188 of file switch_rtp.c.

Referenced by rtp_common_read().

stfu_instance_t* switch_rtp::jb

Definition at line 235 of file switch_rtp.c.

Referenced by do_flush(), and read_rtp_packet().

switch_pollfd_t* switch_rtp::jb_pollfd

Definition at line 161 of file switch_rtp.c.

uint32_t switch_rtp::last_cng_ts

Definition at line 193 of file switch_rtp.c.

Referenced by read_rtp_packet(), and rtp_common_read().

switch_size_t switch_rtp::last_flush_packet_count

Definition at line 258 of file switch_rtp.c.

Referenced by read_rtp_packet().

switch_time_t switch_rtp::last_read_time

Definition at line 257 of file switch_rtp.c.

Referenced by read_rtp_packet().

uint32_t switch_rtp::last_read_ts

Definition at line 192 of file switch_rtp.c.

Referenced by read_rtp_packet(), and rtp_common_read().

uint16_t switch_rtp::last_seq

Definition at line 256 of file switch_rtp.c.

Referenced by read_rtp_packet().

switch_time_t switch_rtp::last_stun

Definition at line 211 of file switch_rtp.c.

Referenced by do_stun_ping(), handle_ice(), handle_stun_ping_reply(), and ice_out().

uint32_t switch_rtp::last_write_samplecount

Definition at line 194 of file switch_rtp.c.

Referenced by do_2833(), rtp_common_read(), and rtp_common_write().

switch_time_t switch_rtp::last_write_timestamp

Definition at line 199 of file switch_rtp.c.

Referenced by rtp_common_write().

uint32_t switch_rtp::last_write_ts

Definition at line 191 of file switch_rtp.c.

Referenced by do_2833(), rtp_common_write(), and set_dtmf_delay().

switch_sockaddr_t* switch_rtp::local_addr

Definition at line 163 of file switch_rtp.c.

Referenced by ping_socket(), rtp_common_read(), and rtp_common_write().

char* switch_rtp::local_host_str

Definition at line 208 of file switch_rtp.c.

Referenced by enable_local_rtcp_socket().

switch_port_t switch_rtp::local_port

Definition at line 217 of file switch_rtp.c.

Referenced by enable_local_rtcp_socket().

uint32_t switch_rtp::max_missed_packets

Definition at line 236 of file switch_rtp.c.

Referenced by rtp_common_read().

uint32_t switch_rtp::max_next_write_samplecount

Definition at line 197 of file switch_rtp.c.

Referenced by set_dtmf_delay().

uint32_t switch_rtp::missed_count

Definition at line 237 of file switch_rtp.c.

Referenced by rtp_common_read().

uint32_t switch_rtp::ms_per_packet

Definition at line 216 of file switch_rtp.c.

Referenced by rtp_common_read(), and rtp_common_write().

uint8_t switch_rtp::need_mark

Definition at line 185 of file switch_rtp.c.

Referenced by do_2833(), and rtp_common_write().

uint32_t switch_rtp::next_write_samplecount

Definition at line 196 of file switch_rtp.c.

Referenced by set_dtmf_delay().

uint8_t switch_rtp::pause_jb

Definition at line 255 of file switch_rtp.c.

Referenced by read_rtp_packet().

switch_payload_t switch_rtp::payload

Definition at line 186 of file switch_rtp.c.

Referenced by rtp_common_write().

switch_memory_pool_t* switch_rtp::pool

Definition at line 201 of file switch_rtp.c.

Referenced by do_flush(), enable_local_rtcp_socket(), enable_remote_rtcp_socket(), handle_ice(), handle_rfc2833(), ice_out(), read_rtcp_packet(), read_rtp_packet(), rtp_common_read(), rtp_common_write(), set_dtmf_delay(), and switch_rtp_new().

void* switch_rtp::private_data

Definition at line 189 of file switch_rtp.c.

uint32_t switch_rtp::queue_delay

Definition at line 198 of file switch_rtp.c.

Referenced by rtp_common_write(), and set_dtmf_delay().

switch_mutex_t* switch_rtp::read_mutex

Definition at line 230 of file switch_rtp.c.

Referenced by switch_rtp_zerocopy_read_frame().

switch_pollfd_t* switch_rtp::read_pollfd

Definition at line 160 of file switch_rtp.c.

Referenced by rtp_common_read().

int switch_rtp::reading

Definition at line 240 of file switch_rtp.c.

uint8_t switch_rtp::ready

Definition at line 233 of file switch_rtp.c.

Referenced by switch_rtp_new().

srtp_ctx_t* switch_rtp::recv_ctx

Definition at line 177 of file switch_rtp.c.

Referenced by read_rtcp_packet(), and read_rtp_packet().

rtp_msg_t switch_rtp::recv_msg

Definition at line 168 of file switch_rtp.c.

Referenced by do_flush(), handle_rfc2833(), read_rtp_packet(), rtp_common_read(), and rtp_common_write().

srtp_policy_t switch_rtp::recv_policy

Definition at line 179 of file switch_rtp.c.

switch_payload_t switch_rtp::recv_te

Definition at line 227 of file switch_rtp.c.

Referenced by do_flush(), handle_rfc2833(), read_rtp_packet(), and rtp_common_read().

switch_sockaddr_t* switch_rtp::remote_addr

Definition at line 167 of file switch_rtp.c.

Referenced by ice_out(), rtp_common_read(), and rtp_common_write().

char* switch_rtp::remote_host_str

Definition at line 209 of file switch_rtp.c.

switch_port_t switch_rtp::remote_port

Definition at line 218 of file switch_rtp.c.

Referenced by rtp_common_read(), and rtp_common_write().

switch_port_t switch_rtp::remote_rtcp_port

Definition at line 220 of file switch_rtp.c.

Referenced by enable_remote_rtcp_socket().

switch_sockaddr_t* switch_rtp::remote_stun_addr

Definition at line 171 of file switch_rtp.c.

Referenced by do_stun_ping(), rtp_common_read(), and rtp_common_write().

switch_payload_t switch_rtp::rpayload

Definition at line 187 of file switch_rtp.c.

Referenced by read_rtp_packet(), and rtp_common_read().

uint32_t switch_rtp::rsamples_per_interval

Definition at line 215 of file switch_rtp.c.

switch_bool_t switch_rtp::rtcp_fresh_frame

Definition at line 251 of file switch_rtp.c.

Referenced by read_rtcp_packet().

switch_sockaddr_t * switch_rtp::rtcp_from_addr

Definition at line 202 of file switch_rtp.c.

Referenced by enable_local_rtcp_socket(), and read_rtcp_packet().

int switch_rtp::rtcp_interval

Definition at line 250 of file switch_rtp.c.

Referenced by rtp_common_write().

switch_sockaddr_t * switch_rtp::rtcp_local_addr

Definition at line 163 of file switch_rtp.c.

Referenced by enable_local_rtcp_socket(), enable_remote_rtcp_socket(), and ping_socket().

switch_pollfd_t * switch_rtp::rtcp_read_pollfd

Definition at line 160 of file switch_rtp.c.

Referenced by enable_local_rtcp_socket(), and rtp_common_read().

rtcp_msg_t switch_rtp::rtcp_recv_msg

Definition at line 169 of file switch_rtp.c.

Referenced by read_rtcp_packet().

switch_sockaddr_t * switch_rtp::rtcp_remote_addr

Definition at line 167 of file switch_rtp.c.

Referenced by enable_remote_rtcp_socket(), rtp_common_read(), and rtp_common_write().

rtcp_msg_t switch_rtp::rtcp_send_msg

Definition at line 165 of file switch_rtp.c.

Referenced by rtp_common_read(), and rtp_common_write().

switch_socket_t * switch_rtp::rtcp_sock_input

Definition at line 159 of file switch_rtp.c.

Referenced by enable_local_rtcp_socket(), enable_remote_rtcp_socket(), ping_socket(), and read_rtcp_packet().

switch_socket_t * switch_rtp::rtcp_sock_output

Definition at line 159 of file switch_rtp.c.

Referenced by enable_remote_rtcp_socket(), rtp_common_read(), and rtp_common_write().

switch_rtp_bug_flag_t switch_rtp::rtp_bugs

Definition at line 246 of file switch_rtp.c.

Referenced by do_2833(), handle_rfc2833(), read_rtp_packet(), rtp_common_read(), and rtp_common_write().

char* switch_rtp::rx_host

Definition at line 203 of file switch_rtp.c.

Referenced by switch_rtp_new().

switch_port_t switch_rtp::rx_port

Definition at line 204 of file switch_rtp.c.

Referenced by switch_rtp_new().

uint32_t switch_rtp::samples_per_interval

Definition at line 212 of file switch_rtp.c.

Referenced by do_2833(), rtp_common_read(), and rtp_common_write().

uint32_t switch_rtp::samples_per_second

Definition at line 213 of file switch_rtp.c.

Referenced by set_dtmf_delay().

srtp_ctx_t* switch_rtp::send_ctx

Definition at line 176 of file switch_rtp.c.

Referenced by rtp_common_read(), and rtp_common_write().

rtp_msg_t switch_rtp::send_msg

Definition at line 164 of file switch_rtp.c.

Referenced by rtp_common_write().

srtp_policy_t switch_rtp::send_policy

Definition at line 178 of file switch_rtp.c.

Referenced by rtp_common_write().

switch_time_t switch_rtp::send_time

Definition at line 253 of file switch_rtp.c.

Referenced by rtp_common_write().

int8_t switch_rtp::sending_dtmf

Definition at line 184 of file switch_rtp.c.

Referenced by do_2833(), rtp_common_read(), and rtp_common_write().

uint16_t switch_rtp::seq

Definition at line 182 of file switch_rtp.c.

Referenced by do_2833(), and rtp_common_write().

switch_socket_t* switch_rtp::sock_input

Definition at line 159 of file switch_rtp.c.

Referenced by do_flush(), ping_socket(), read_rtp_packet(), and rtp_common_read().

switch_socket_t * switch_rtp::sock_output

Definition at line 159 of file switch_rtp.c.

Referenced by do_stun_ping(), handle_ice(), ice_out(), and rtp_common_write().

uint32_t switch_rtp::srtp_errs

Definition at line 180 of file switch_rtp.c.

Referenced by read_rtcp_packet(), and read_rtp_packet().

uint32_t switch_rtp::ssrc

Definition at line 183 of file switch_rtp.c.

Referenced by rtp_common_write().

switch_rtp_stats_t switch_rtp::stats

Definition at line 247 of file switch_rtp.c.

Referenced by do_2833(), do_flush(), read_rtcp_packet(), read_rtp_packet(), rtp_common_read(), and rtp_common_write().

char* switch_rtp::stun_ip

Definition at line 242 of file switch_rtp.c.

switch_port_t switch_rtp::stun_port

Definition at line 243 of file switch_rtp.c.

uint32_t switch_rtp::stuncount

Definition at line 221 of file switch_rtp.c.

Referenced by do_stun_ping(), and ice_out().

uint32_t switch_rtp::sync_packets

Definition at line 249 of file switch_rtp.c.

switch_payload_t switch_rtp::te

Definition at line 226 of file switch_rtp.c.

Referenced by do_2833(), and rtp_common_write().

switch_timer_t switch_rtp::timer

Definition at line 232 of file switch_rtp.c.

Referenced by do_2833(), read_rtp_packet(), rtp_common_read(), rtp_common_write(), and set_dtmf_delay().

char* switch_rtp::timer_name

Definition at line 207 of file switch_rtp.c.

uint32_t switch_rtp::ts

Definition at line 190 of file switch_rtp.c.

Referenced by rtp_common_write().

char* switch_rtp::user_ice

Definition at line 206 of file switch_rtp.c.

Referenced by handle_ice().

struct switch_rtp_vad_data switch_rtp::vad_data

Definition at line 224 of file switch_rtp.c.

Referenced by rtp_common_write().

rtp_msg_t switch_rtp::write_msg

Definition at line 238 of file switch_rtp.c.

switch_mutex_t* switch_rtp::write_mutex

Definition at line 231 of file switch_rtp.c.

int switch_rtp::writing

Definition at line 241 of file switch_rtp.c.


The documentation for this struct was generated from the following file:
Generated on Wed May 16 04:00:33 2012 for FreeSWITCH API Documentation by  doxygen 1.4.7