RTS API Documentation  1.10.11
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_tstack_count_mutex
 
switch_mutex_tresample_mutex
 
switch_mutex_tcodec_init_mutex
 
switch_mutex_tcodec_read_mutex
 
switch_mutex_tcodec_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_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]
 
switch_plc_state_tplc
 
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_core_video_thread_callback_func_t text_read_callback
 
void * text_read_user_data
 
switch_io_routines_tio_override
 
switch_slin_data_tsdata
 
switch_buffer_ttext_buffer
 
switch_buffer_ttext_line_buffer
 
switch_mutex_ttext_mutex
 
const char * external_id
 

Detailed Description

Definition at line 86 of file switch_core_pvt.h.

Field Documentation

◆ app_log

switch_app_log_t* switch_core_session::app_log

Definition at line 136 of file switch_core_pvt.h.

Referenced by switch_core_session_exec(), and switch_core_session_get_app_log().

◆ bug_codec

switch_codec_t switch_core_session::bug_codec

◆ bug_rwlock

switch_thread_rwlock_t* switch_core_session::bug_rwlock

◆ bugs

switch_media_bug_t* switch_core_session::bugs

◆ channel

switch_channel_t* switch_core_session::channel

Definition at line 93 of file switch_core_pvt.h.

Referenced by _switch_core_session_request_video_refresh(), api_hook(), audio_write_thread(), check_dtls_reinvite(), check_ice(), check_jb(), check_jb_sync(), check_media_timeout_params(), check_presence(), check_stream_changes(), dtls_ok(), generate_m(), get_media_profile_name(), ip_choose_family(), perform_write(), recover_callback(), switch_core_media_absorb_sdp(), switch_core_media_activate_rtp(), switch_core_media_bug_add(), switch_core_media_bug_close(), switch_core_media_bug_destroy(), switch_core_media_bug_pause(), switch_core_media_bug_read(), switch_core_media_bug_resume(), switch_core_media_bug_transfer_callback(), switch_core_media_build_crypto(), switch_core_media_check_autoadj(), switch_core_media_check_dtls(), switch_core_media_check_dtmf_type(), switch_core_media_check_outgoing_proxy(), switch_core_media_check_video_codecs(), switch_core_media_choose_port(), switch_core_media_choose_ports(), switch_core_media_codec_control(), switch_core_media_deactivate_rtp(), switch_core_media_gen_local_sdp(), switch_core_media_get_codec_string(), switch_core_media_get_media_bw_mult(), switch_core_media_get_orig_bitrate(), switch_core_media_get_video_file(), switch_core_media_get_video_fps(), switch_core_media_lock_video_file(), switch_core_media_media_params(), switch_core_media_negotiate_sdp(), switch_core_media_parse_media_flags(), switch_core_media_patch_sdp(), switch_core_media_prepare_codecs(), switch_core_media_process_t38_passthru(), switch_core_media_process_udptl(), switch_core_media_proxy_remote_addr(), switch_core_media_read_frame(), switch_core_media_read_lock_unlock(), switch_core_media_receive_message(), switch_core_media_recover_session(), switch_core_media_set_codec(), switch_core_media_set_local_sdp(), switch_core_media_set_media_bw_mult(), switch_core_media_set_outgoing_bitrate(), switch_core_media_set_r_sdp_codec_string(), switch_core_media_set_rmode(), switch_core_media_set_smode(), switch_core_media_set_udptl_image_sdp(), switch_core_media_set_video_codec(), switch_core_media_set_video_file(), switch_core_media_start_udptl(), switch_core_media_toggle_hold(), switch_core_media_unlock_video_file(), switch_core_media_write_frame(), switch_core_session_apply_crypto(), switch_core_session_check_incoming_crypto(), switch_core_session_check_outgoing_crypto(), switch_core_session_clear_crypto(), switch_core_session_dequeue_event(), switch_core_session_destroy_state(), switch_core_session_enable_heartbeat(), switch_core_session_event_send(), switch_core_session_exec(), switch_core_session_execute_application_async(), switch_core_session_execute_application_get_flags(), switch_core_session_execute_exten(), switch_core_session_findall_matching_var(), switch_core_session_get_channel(), switch_core_session_get_recovery_crypto_key(), switch_core_session_hangup_state(), switch_core_session_hupall(), switch_core_session_hupall_endpoint(), switch_core_session_hupall_matching_vars_ans(), switch_core_session_message_send(), switch_core_session_override_io_routines(), switch_core_session_parse_codec_settings(), switch_core_session_parse_crypto_prefs(), switch_core_session_passthru(), switch_core_session_perform_force_locate(), switch_core_session_perform_get_partner(), switch_core_session_perform_kill_channel(), switch_core_session_perform_receive_message(), switch_core_session_print(), switch_core_session_read_frame(), switch_core_session_read_lock(), switch_core_session_read_lock_hangup(), switch_core_session_read_text_frame(), switch_core_session_read_video_frame(), switch_core_session_receive_event(), switch_core_session_recv_dtmf(), switch_core_session_reporting_state(), switch_core_session_request_uuid(), switch_core_session_run(), switch_core_session_sched_heartbeat(), switch_core_session_send_and_request_video_refresh(), switch_core_session_send_dtmf(), switch_core_session_send_dtmf_string(), switch_core_session_set_external_id(), switch_core_session_set_ice(), switch_core_session_set_read_codec(), switch_core_session_set_real_read_codec(), switch_core_session_set_uuid(), switch_core_session_set_video_read_codec(), switch_core_session_set_video_write_codec(), switch_core_session_set_write_codec(), switch_core_session_start_audio_write_thread(), switch_core_session_start_text_thread(), switch_core_session_start_video_thread(), switch_core_session_stop_media(), switch_core_session_thread(), switch_core_session_transcoding(), switch_core_session_video_reinit(), switch_core_session_video_reset(), switch_core_session_wait_for_video_input_params(), switch_core_session_wake_session_thread(), switch_core_session_wake_video_thread(), switch_core_session_write_frame(), switch_core_session_write_lock(), switch_core_session_write_text_frame(), switch_core_session_write_video_frame(), 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_determine_ice_type(), switch_ice_direction(), switch_ivr_eavesdrop_session(), switch_media_handle_create(), SWITCH_STANDARD_SCHED_FUNC(), text_helper_thread(), video_bug_thread(), video_helper_thread(), and video_write_thread().

◆ codec_init_mutex

switch_mutex_t* switch_core_session::codec_init_mutex

◆ codec_read_mutex

switch_mutex_t* switch_core_session::codec_read_mutex

◆ codec_write_mutex

switch_mutex_t* switch_core_session::codec_write_mutex

◆ cond

switch_thread_cond_t* switch_core_session::cond

◆ decoder_errors

uint32_t switch_core_session::decoder_errors

Definition at line 161 of file switch_core_pvt.h.

Referenced by switch_core_session_read_frame().

◆ dmachine

switch_ivr_dmachine_t* switch_core_session::dmachine[2]

◆ enc_read_buf

uint8_t switch_core_session::enc_read_buf[SWITCH_RECOMMENDED_BUFFER_SIZE]

Definition at line 149 of file switch_core_pvt.h.

Referenced by switch_core_session_request_uuid().

◆ enc_read_frame

switch_frame_t switch_core_session::enc_read_frame

◆ enc_write_buf

uint8_t switch_core_session::enc_write_buf[SWITCH_RECOMMENDED_BUFFER_SIZE]

Definition at line 143 of file switch_core_pvt.h.

Referenced by switch_core_session_request_uuid().

◆ enc_write_frame

switch_frame_t switch_core_session::enc_write_frame

◆ endpoint_interface

switch_endpoint_interface_t* switch_core_session::endpoint_interface

◆ event_hooks

switch_io_event_hooks_t switch_core_session::event_hooks

◆ event_queue

switch_queue_t* switch_core_session::event_queue

◆ external_id

const char* switch_core_session::external_id

◆ flags

switch_session_flag_t switch_core_session::flags

Definition at line 92 of file switch_core_pvt.h.

Referenced by switch_core_media_bug_transfer_callback().

◆ frame_read_mutex

switch_mutex_t* switch_core_session::frame_read_mutex

◆ id

switch_size_t switch_core_session::id

◆ io_override

switch_io_routines_t* switch_core_session::io_override

◆ io_rwlock

switch_thread_rwlock_t* switch_core_session::io_rwlock

◆ loglevel

switch_log_level_t switch_core_session::loglevel

◆ media_handle

switch_media_handle_t* switch_core_session::media_handle

Definition at line 160 of file switch_core_pvt.h.

Referenced by _switch_core_session_request_video_refresh(), audio_write_thread(), check_jb(), check_jb_sync(), check_stream_changes(), clear_ice(), gen_ice(), generate_m(), perform_write(), switch_core_media_absorb_sdp(), switch_core_media_activate_rtp(), switch_core_media_add_ice_acl(), switch_core_media_add_payload_map(), switch_core_media_break(), switch_core_media_check_autoadj(), switch_core_media_check_dtls(), switch_core_media_check_dtmf_type(), switch_core_media_check_engine_function(), switch_core_media_check_outgoing_proxy(), switch_core_media_check_udptl_mode(), switch_core_media_check_video_codecs(), switch_core_media_choose_port(), switch_core_media_choose_ports(), switch_core_media_clear_rtp_flag(), switch_core_media_codec_chosen(), switch_core_media_codec_control(), switch_core_media_codec_get_cap(), switch_core_media_deactivate_rtp(), switch_core_media_end_engine_function(), switch_core_media_ext_address_lookup(), switch_core_media_gen_local_sdp(), switch_core_media_get_codec_string(), switch_core_media_get_engine(), switch_core_media_get_jb(), switch_core_media_get_media_bw_mult(), switch_core_media_get_msrp_session(), switch_core_media_get_offered_pt(), switch_core_media_get_orig_bitrate(), switch_core_media_get_rtp_session(), switch_core_media_get_stats(), switch_core_media_get_timer(), switch_core_media_get_vid_params(), switch_core_media_get_video_file(), switch_core_media_get_video_fps(), switch_core_media_kill_socket(), switch_core_media_lock_video_file(), switch_core_media_merge_sdp_codec_string(), switch_core_media_negotiate_sdp(), switch_core_media_parse_media_flags(), switch_core_media_patch_sdp(), switch_core_media_pause(), switch_core_media_prepare_codecs(), switch_core_media_process_t38_passthru(), switch_core_media_proxy_remote_addr(), switch_core_media_queue_rfc2833(), switch_core_media_queue_rfc2833_in(), switch_core_media_read_frame(), switch_core_media_read_lock_unlock(), switch_core_media_ready(), switch_core_media_receive_message(), switch_core_media_recover_session(), switch_core_media_reset_autofix(), switch_core_media_reset_jb(), switch_core_media_reset_t38(), switch_core_media_resume(), switch_core_media_set_codec(), switch_core_media_set_local_sdp(), switch_core_media_set_media_bw_mult(), switch_core_media_set_outgoing_bitrate(), switch_core_media_set_r_sdp_codec_string(), switch_core_media_set_rmode(), switch_core_media_set_rtp_flag(), switch_core_media_set_rtp_session(), switch_core_media_set_smode(), switch_core_media_set_stats(), switch_core_media_set_telephony_event(), switch_core_media_set_telephony_recv_event(), switch_core_media_set_udptl_image_sdp(), switch_core_media_set_video_codec(), switch_core_media_set_video_file(), switch_core_media_start_engine_function(), switch_core_media_start_udptl(), switch_core_media_sync_stats(), switch_core_media_toggle_hold(), switch_core_media_udptl_mode(), switch_core_media_unlock_video_file(), switch_core_media_write_frame(), switch_core_session_apply_crypto(), switch_core_session_check_incoming_crypto(), switch_core_session_check_outgoing_crypto(), switch_core_session_clear_crypto(), switch_core_session_clear_media_handle(), switch_core_session_get_media_handle(), switch_core_session_get_payload_code(), switch_core_session_get_recovery_crypto_key(), switch_core_session_get_rtp_pt(), switch_core_session_get_rtp_session(), switch_core_session_in_video_thread(), switch_core_session_local_crypto_key(), switch_core_session_media_flow(), switch_core_session_media_handle_ready(), switch_core_session_parse_codec_settings(), switch_core_session_parse_crypto_prefs(), switch_core_session_passthru(), switch_core_session_perform_receive_message(), switch_core_session_read_text_frame(), switch_core_session_read_video_frame(), switch_core_session_remote_media_flow(), switch_core_session_set_ice(), switch_core_session_set_text_read_callback(), switch_core_session_set_video_read_callback(), switch_core_session_start_audio_write_thread(), switch_core_session_start_text_thread(), switch_core_session_start_video_thread(), switch_core_session_stop_media(), switch_core_session_text_read_callback(), switch_core_session_video_read_callback(), switch_core_session_video_reinit(), switch_core_session_wait_for_video_input_params(), switch_core_session_wake_video_thread(), switch_core_session_write_blank_video(), switch_core_session_write_text_frame(), switch_core_session_write_video_frame(), switch_ice_direction(), switch_media_handle_create(), switch_media_handle_destroy(), text_helper_thread(), video_helper_thread(), and video_write_thread().

◆ message_queue

switch_queue_t* switch_core_session::message_queue

◆ mutex

switch_mutex_t* switch_core_session::mutex

◆ plc

switch_plc_state_t* switch_core_session::plc

Definition at line 158 of file switch_core_pvt.h.

Referenced by switch_core_session_read_frame().

◆ pool

switch_memory_pool_t* switch_core_session::pool

◆ private_event_queue

switch_queue_t* switch_core_session::private_event_queue

◆ private_event_queue_pri

switch_queue_t* switch_core_session::private_event_queue_pri

◆ private_info

void* switch_core_session::private_info[SWITCH_CORE_SESSION_MAX_PRIVATES]

◆ raw_read_buf

uint8_t switch_core_session::raw_read_buf[SWITCH_RECOMMENDED_BUFFER_SIZE]

Definition at line 148 of file switch_core_pvt.h.

Referenced by switch_core_session_request_uuid().

◆ raw_read_buffer

switch_buffer_t* switch_core_session::raw_read_buffer

Definition at line 145 of file switch_core_pvt.h.

Referenced by switch_core_session_read_frame(), and switch_core_session_reset().

◆ raw_read_frame

switch_frame_t switch_core_session::raw_read_frame

◆ raw_write_buf

uint8_t switch_core_session::raw_write_buf[SWITCH_RECOMMENDED_BUFFER_SIZE]

Definition at line 142 of file switch_core_pvt.h.

Referenced by switch_core_session_request_uuid().

◆ raw_write_buffer

switch_buffer_t* switch_core_session::raw_write_buffer

◆ raw_write_frame

switch_frame_t switch_core_session::raw_write_frame

◆ read_codec

switch_codec_t* switch_core_session::read_codec

◆ read_frame_count

uint32_t switch_core_session::read_frame_count

◆ read_impl

switch_codec_implementation_t switch_core_session::read_impl

◆ read_resampler

switch_audio_resampler_t* switch_core_session::read_resampler

◆ real_read_codec

switch_codec_t* switch_core_session::real_read_codec

◆ real_read_impl

switch_codec_implementation_t switch_core_session::real_read_impl

◆ real_write_codec

switch_codec_t* switch_core_session::real_write_codec

◆ resample_mutex

switch_mutex_t* switch_core_session::resample_mutex

◆ rwlock

switch_thread_rwlock_t* switch_core_session::rwlock

◆ sdata

switch_slin_data_t* switch_core_session::sdata

Definition at line 167 of file switch_core_pvt.h.

Referenced by switch_core_session_raw_read(), and switch_core_session_reset().

◆ signal_data_queue

switch_queue_t* switch_core_session::signal_data_queue

◆ soft_lock

uint32_t switch_core_session::soft_lock

◆ stack_count

uint32_t switch_core_session::stack_count

Definition at line 137 of file switch_core_pvt.h.

Referenced by switch_core_session_stack_count().

◆ stack_count_mutex

switch_mutex_t* switch_core_session::stack_count_mutex

◆ stream_count

int switch_core_session::stream_count

◆ streams

void* switch_core_session::streams[SWITCH_MAX_STREAMS]

◆ text_buffer

switch_buffer_t* switch_core_session::text_buffer

◆ text_line_buffer

switch_buffer_t* switch_core_session::text_line_buffer

Definition at line 170 of file switch_core_pvt.h.

Referenced by switch_core_session_read_text_frame().

◆ text_mutex

switch_mutex_t* switch_core_session::text_mutex

◆ text_read_callback

switch_core_video_thread_callback_func_t switch_core_session::text_read_callback

◆ text_read_user_data

void* switch_core_session::text_read_user_data

◆ thread

switch_thread_t* switch_core_session::thread

Definition at line 88 of file switch_core_pvt.h.

Referenced by switch_core_session_thread().

◆ thread_id

switch_thread_id_t switch_core_session::thread_id

◆ track_duration

uint32_t switch_core_session::track_duration

◆ track_id

uint32_t switch_core_session::track_id

◆ uuid_str

char switch_core_session::uuid_str[SWITCH_UUID_FORMATTED_LENGTH+1]

◆ video_read_callback

switch_core_video_thread_callback_func_t switch_core_session::video_read_callback

◆ video_read_codec

switch_codec_t* switch_core_session::video_read_codec

◆ video_read_impl

switch_codec_implementation_t switch_core_session::video_read_impl

◆ video_read_user_data

void* switch_core_session::video_read_user_data

◆ video_write_codec

switch_codec_t* switch_core_session::video_write_codec

◆ video_write_impl

switch_codec_implementation_t switch_core_session::video_write_impl

◆ write_codec

switch_codec_t* switch_core_session::write_codec

◆ write_impl

switch_codec_implementation_t switch_core_session::write_impl

◆ write_resampler

switch_audio_resampler_t* switch_core_session::write_resampler

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