FreeSWITCH API Documentation  1.7.0
Data Fields
switch_core_session Struct Reference

#include <switch_core_pvt.h>

+ Collaboration diagram for switch_core_session:

Data Fields

switch_memory_pool_tpool
 
switch_thread_tthread
 
switch_thread_id_t thread_id
 
switch_endpoint_interface_tendpoint_interface
 
switch_size_t id
 
switch_session_flag_t flags
 
switch_channel_tchannel
 
switch_io_event_hooks_t event_hooks
 
switch_codec_tread_codec
 
switch_codec_treal_read_codec
 
switch_codec_twrite_codec
 
switch_codec_treal_write_codec
 
switch_codec_tvideo_read_codec
 
switch_codec_tvideo_write_codec
 
switch_codec_implementation_t read_impl
 
switch_codec_implementation_t real_read_impl
 
switch_codec_implementation_t write_impl
 
switch_codec_implementation_t video_read_impl
 
switch_codec_implementation_t video_write_impl
 
switch_audio_resampler_tread_resampler
 
switch_audio_resampler_twrite_resampler
 
switch_mutex_tmutex
 
switch_mutex_tresample_mutex
 
switch_mutex_tcodec_read_mutex
 
switch_mutex_tcodec_write_mutex
 
switch_mutex_tvideo_codec_read_mutex
 
switch_mutex_tvideo_codec_write_mutex
 
switch_thread_cond_tcond
 
switch_mutex_tframe_read_mutex
 
switch_thread_rwlock_trwlock
 
switch_thread_rwlock_tio_rwlock
 
void * streams [SWITCH_MAX_STREAMS]
 
int stream_count
 
char uuid_str [SWITCH_UUID_FORMATTED_LENGTH+1]
 
void * private_info [SWITCH_CORE_SESSION_MAX_PRIVATES]
 
switch_queue_tevent_queue
 
switch_queue_tmessage_queue
 
switch_queue_tsignal_data_queue
 
switch_queue_tprivate_event_queue
 
switch_queue_tprivate_event_queue_pri
 
switch_thread_rwlock_tbug_rwlock
 
switch_media_bug_tbugs
 
switch_app_log_tapp_log
 
uint32_t stack_count
 
switch_buffer_traw_write_buffer
 
switch_frame_t raw_write_frame
 
switch_frame_t enc_write_frame
 
uint8_t raw_write_buf [SWITCH_RECOMMENDED_BUFFER_SIZE]
 
uint8_t enc_write_buf [SWITCH_RECOMMENDED_BUFFER_SIZE]
 
switch_buffer_traw_read_buffer
 
switch_frame_t raw_read_frame
 
switch_frame_t enc_read_frame
 
uint8_t raw_read_buf [SWITCH_RECOMMENDED_BUFFER_SIZE]
 
uint8_t enc_read_buf [SWITCH_RECOMMENDED_BUFFER_SIZE]
 
switch_buffer_tvideo_raw_write_buffer
 
switch_frame_t video_raw_write_frame
 
switch_buffer_tvideo_raw_read_buffer
 
switch_frame_t video_raw_read_frame
 
switch_codec_t bug_codec
 
uint32_t read_frame_count
 
uint32_t track_duration
 
uint32_t track_id
 
switch_log_level_t loglevel
 
uint32_t soft_lock
 
switch_ivr_dmachine_tdmachine [2]
 
plc_state_t * plc
 
switch_media_handle_tmedia_handle
 
uint32_t decoder_errors
 
switch_core_video_thread_callback_func_t video_read_callback
 
void * video_read_user_data
 
switch_slin_data_tsdata
 

Detailed Description

Definition at line 105 of file switch_core_pvt.h.

Field Documentation

switch_app_log_t* switch_core_session::app_log

Definition at line 155 of file switch_core_pvt.h.

switch_codec_t switch_core_session::bug_codec

Definition at line 179 of file switch_core_pvt.h.

switch_thread_rwlock_t* switch_core_session::bug_rwlock
switch_media_bug_t* switch_core_session::bugs

Definition at line 154 of file switch_core_pvt.h.

Referenced by perform_write(), and switch_core_session_read_frame().

switch_channel_t* switch_core_session::channel

Definition at line 112 of file switch_core_pvt.h.

Referenced by _switch_core_media_pass_zrtp_hash2(), api_hook(), check_dtls_reinvite(), check_ice(), check_jb(), check_jb_sync(), check_presence(), dtls_ok(), generate_m(), get_media_profile_name(), ip_choose_family(), perform_write(), recover_callback(), switch_core_media_bug_close(), switch_core_media_bug_destroy(), switch_core_media_build_crypto(), switch_core_media_choose_ports(), switch_core_media_gen_local_sdp(), switch_core_media_negotiate_sdp(), switch_core_media_process_udptl(), switch_core_media_recover_session(), switch_core_media_set_r_sdp_codec_string(), switch_core_session_apply_crypto(), switch_core_session_check_incoming_crypto(), switch_core_session_event_send(), switch_core_session_findall_matching_var(), switch_core_session_get_recovery_crypto_key(), switch_core_session_hupall(), switch_core_session_hupall_endpoint(), switch_core_session_hupall_matching_var_ans(), switch_core_session_message_send(), switch_core_session_parse_codec_settings(), switch_core_session_parse_crypto_prefs(), switch_core_session_perform_force_locate(), switch_core_session_request_uuid(), switch_core_session_stop_media(), switch_core_session_thread(), switch_core_standard_on_consume_media(), switch_core_standard_on_destroy(), switch_core_standard_on_exchange_media(), switch_core_standard_on_execute(), switch_core_standard_on_hangup(), switch_core_standard_on_hibernate(), switch_core_standard_on_init(), switch_core_standard_on_park(), switch_core_standard_on_reporting(), switch_core_standard_on_reset(), switch_core_standard_on_routing(), switch_core_standard_on_soft_execute(), switch_ivr_eavesdrop_session(), SWITCH_STANDARD_SCHED_FUNC(), video_helper_thread(), and video_write_thread().

switch_mutex_t* switch_core_session::codec_read_mutex

Definition at line 133 of file switch_core_pvt.h.

Referenced by switch_core_session_request_uuid().

switch_mutex_t* switch_core_session::codec_write_mutex

Definition at line 134 of file switch_core_pvt.h.

Referenced by switch_core_session_request_uuid().

switch_thread_cond_t* switch_core_session::cond

Definition at line 137 of file switch_core_pvt.h.

Referenced by switch_core_session_request_uuid().

uint32_t switch_core_session::decoder_errors

Definition at line 189 of file switch_core_pvt.h.

switch_ivr_dmachine_t* switch_core_session::dmachine[2]

Definition at line 185 of file switch_core_pvt.h.

uint8_t switch_core_session::enc_read_buf[SWITCH_RECOMMENDED_BUFFER_SIZE]

Definition at line 168 of file switch_core_pvt.h.

Referenced by switch_core_session_request_uuid().

switch_frame_t switch_core_session::enc_read_frame

Definition at line 166 of file switch_core_pvt.h.

Referenced by switch_core_session_request_uuid().

uint8_t switch_core_session::enc_write_buf[SWITCH_RECOMMENDED_BUFFER_SIZE]

Definition at line 162 of file switch_core_pvt.h.

Referenced by switch_core_session_request_uuid().

switch_frame_t switch_core_session::enc_write_frame

Definition at line 160 of file switch_core_pvt.h.

Referenced by switch_core_session_request_uuid().

switch_endpoint_interface_t* switch_core_session::endpoint_interface
switch_io_event_hooks_t switch_core_session::event_hooks

Definition at line 114 of file switch_core_pvt.h.

Referenced by perform_write().

switch_queue_t* switch_core_session::event_queue

Definition at line 148 of file switch_core_pvt.h.

Referenced by switch_core_session_request_uuid().

switch_session_flag_t switch_core_session::flags

Definition at line 111 of file switch_core_pvt.h.

switch_mutex_t* switch_core_session::frame_read_mutex
switch_size_t switch_core_session::id
switch_thread_rwlock_t* switch_core_session::io_rwlock

Definition at line 141 of file switch_core_pvt.h.

Referenced by switch_core_session_request_uuid().

switch_log_level_t switch_core_session::loglevel

Definition at line 183 of file switch_core_pvt.h.

Referenced by switch_log_vprintf().

switch_media_handle_t* switch_core_session::media_handle
switch_queue_t* switch_core_session::message_queue

Definition at line 149 of file switch_core_pvt.h.

Referenced by switch_core_session_request_uuid().

switch_mutex_t* switch_core_session::mutex

Definition at line 131 of file switch_core_pvt.h.

Referenced by switch_core_session_request_uuid().

plc_state_t* switch_core_session::plc

Definition at line 186 of file switch_core_pvt.h.

switch_memory_pool_t* switch_core_session::pool

Definition at line 106 of file switch_core_pvt.h.

Referenced by switch_core_session_request_uuid().

switch_queue_t* switch_core_session::private_event_queue

Definition at line 151 of file switch_core_pvt.h.

Referenced by switch_core_session_request_uuid().

switch_queue_t* switch_core_session::private_event_queue_pri

Definition at line 152 of file switch_core_pvt.h.

Referenced by switch_core_session_request_uuid().

void* switch_core_session::private_info[SWITCH_CORE_SESSION_MAX_PRIVATES]

Definition at line 147 of file switch_core_pvt.h.

uint8_t switch_core_session::raw_read_buf[SWITCH_RECOMMENDED_BUFFER_SIZE]

Definition at line 167 of file switch_core_pvt.h.

Referenced by switch_core_session_request_uuid().

switch_buffer_t* switch_core_session::raw_read_buffer

Definition at line 164 of file switch_core_pvt.h.

switch_frame_t switch_core_session::raw_read_frame

Definition at line 165 of file switch_core_pvt.h.

Referenced by switch_core_session_request_uuid().

uint8_t switch_core_session::raw_write_buf[SWITCH_RECOMMENDED_BUFFER_SIZE]

Definition at line 161 of file switch_core_pvt.h.

Referenced by switch_core_session_request_uuid().

switch_buffer_t* switch_core_session::raw_write_buffer

Definition at line 158 of file switch_core_pvt.h.

switch_frame_t switch_core_session::raw_write_frame

Definition at line 159 of file switch_core_pvt.h.

Referenced by switch_core_session_request_uuid().

switch_codec_t* switch_core_session::read_codec

Definition at line 115 of file switch_core_pvt.h.

uint32_t switch_core_session::read_frame_count

Definition at line 180 of file switch_core_pvt.h.

switch_codec_implementation_t switch_core_session::read_impl

Definition at line 122 of file switch_core_pvt.h.

switch_audio_resampler_t* switch_core_session::read_resampler

Definition at line 128 of file switch_core_pvt.h.

switch_codec_t* switch_core_session::real_read_codec

Definition at line 116 of file switch_core_pvt.h.

switch_codec_implementation_t switch_core_session::real_read_impl

Definition at line 123 of file switch_core_pvt.h.

switch_codec_t* switch_core_session::real_write_codec

Definition at line 118 of file switch_core_pvt.h.

switch_mutex_t* switch_core_session::resample_mutex

Definition at line 132 of file switch_core_pvt.h.

Referenced by switch_core_session_request_uuid().

switch_thread_rwlock_t* switch_core_session::rwlock
switch_slin_data_t* switch_core_session::sdata

Definition at line 192 of file switch_core_pvt.h.

switch_queue_t* switch_core_session::signal_data_queue

Definition at line 150 of file switch_core_pvt.h.

Referenced by switch_core_session_request_uuid().

uint32_t switch_core_session::soft_lock

Definition at line 184 of file switch_core_pvt.h.

Referenced by switch_core_session_thread().

uint32_t switch_core_session::stack_count

Definition at line 156 of file switch_core_pvt.h.

int switch_core_session::stream_count

Definition at line 144 of file switch_core_pvt.h.

void* switch_core_session::streams[SWITCH_MAX_STREAMS]

Definition at line 143 of file switch_core_pvt.h.

switch_thread_t* switch_core_session::thread

Definition at line 107 of file switch_core_pvt.h.

Referenced by switch_core_session_thread().

switch_thread_id_t switch_core_session::thread_id

Definition at line 108 of file switch_core_pvt.h.

Referenced by switch_core_session_thread().

uint32_t switch_core_session::track_duration

Definition at line 181 of file switch_core_pvt.h.

Referenced by SWITCH_STANDARD_SCHED_FUNC().

uint32_t switch_core_session::track_id

Definition at line 182 of file switch_core_pvt.h.

char switch_core_session::uuid_str[SWITCH_UUID_FORMATTED_LENGTH+1]
switch_mutex_t* switch_core_session::video_codec_read_mutex

Definition at line 135 of file switch_core_pvt.h.

Referenced by switch_core_session_request_uuid().

switch_mutex_t* switch_core_session::video_codec_write_mutex

Definition at line 136 of file switch_core_pvt.h.

Referenced by switch_core_session_request_uuid().

switch_buffer_t* switch_core_session::video_raw_read_buffer

Definition at line 175 of file switch_core_pvt.h.

switch_frame_t switch_core_session::video_raw_read_frame

Definition at line 176 of file switch_core_pvt.h.

switch_buffer_t* switch_core_session::video_raw_write_buffer

Definition at line 171 of file switch_core_pvt.h.

switch_frame_t switch_core_session::video_raw_write_frame

Definition at line 172 of file switch_core_pvt.h.

switch_core_video_thread_callback_func_t switch_core_session::video_read_callback

Definition at line 190 of file switch_core_pvt.h.

Referenced by video_helper_thread().

switch_codec_t* switch_core_session::video_read_codec

Definition at line 119 of file switch_core_pvt.h.

switch_codec_implementation_t switch_core_session::video_read_impl

Definition at line 125 of file switch_core_pvt.h.

void* switch_core_session::video_read_user_data

Definition at line 191 of file switch_core_pvt.h.

switch_codec_t* switch_core_session::video_write_codec

Definition at line 120 of file switch_core_pvt.h.

switch_codec_implementation_t switch_core_session::video_write_impl

Definition at line 126 of file switch_core_pvt.h.

switch_codec_t* switch_core_session::write_codec

Definition at line 117 of file switch_core_pvt.h.

switch_codec_implementation_t switch_core_session::write_impl

Definition at line 124 of file switch_core_pvt.h.

switch_audio_resampler_t* switch_core_session::write_resampler

Definition at line 129 of file switch_core_pvt.h.


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