38 #include <switch_private.h> 57 #ifdef HAVE_SYS_RESOURCE_H 58 #include <sys/resource.h> 65 #define SWITCH_EVENT_QUEUE_LEN 256 66 #define SWITCH_MESSAGE_QUEUE_LEN 256 68 #define SWITCH_BUFFER_BLOCK_FRAMES 25 69 #define SWITCH_BUFFER_START_FRAMES 50 switch_mutex_t * codec_init_mutex
switch_memory_pool_t * switch_core_memory_init(void)
#define SWITCH_MAX_STREAMS
uint32_t min_dtmf_duration
char * core_db_inner_post_trans_execute
switch_audio_resampler_t * write_resampler
switch_frame_t dummy_cng_frame
switch_queue_t * event_queue
switch_thread_rwlock_t * bug_rwlock
switch_status_t switch_core_sqldb_start(switch_memory_pool_t *pool, switch_bool_t manage)
uint8_t raw_read_buf[SWITCH_RECOMMENDED_BUFFER_SIZE]
Abstraction of an module endpoint interface This is the glue between the abstract idea of a "channel"...
switch_mutex_t * codec_write_mutex
switch_session_flag_t flags
switch_frame_t enc_read_frame
switch_queue_t * thread_queue
switch_buffer_t * raw_write_buffer
char * core_db_post_trans_execute
switch_mutex_t * stack_count_mutex
#define SWITCH_RECOMMENDED_BUFFER_SIZE
void switch_core_memory_stop(void)
switch_mutex_t * codec_read_mutex
switch_bool_t(* switch_media_bug_callback_t)(switch_media_bug_t *, void *, switch_abc_type_t)
uint32_t max_audio_channels
switch_codec_t * video_read_codec
switch_codec_t * read_codec
Representation of an event.
switch_codec_t * real_read_codec
void * streams[SWITCH_MAX_STREAMS]
void switch_core_session_init(switch_memory_pool_t *pool)
switch_thread_rwlock_t * global_var_rwlock
switch_codec_implementation_t video_read_impl
switch_codec_t * video_write_codec
switch_event_t * global_vars
switch_codec_implementation_t video_write_impl
switch_codec_implementation_t read_impl
switch_mutex_t * throttle_mutex
switch_call_cause_t shutdown_cause
switch_queue_t * signal_data_queue
A table of i/o routines that an endpoint interface can implement.
#define SWITCH_MAX_STATE_HANDLERS
struct switch_runtime runtime
uint32_t microseconds_per_tick
switch_thread_cond_t * cond
switch_buffer_t * text_buffer
switch_media_handle_t * media_handle
switch_io_event_hooks_t event_hooks
switch_codec_implementation_t write_impl
switch_queue_t * private_event_queue
switch_dbtype_t odbc_dbtype
void * private_info[SWITCH_CORE_SESSION_MAX_PRIVATES]
int32_t sessions_peak_fivemin
switch_codec_implementation_t real_read_impl
char * event_channel_key_separator
switch_bool_t colorize_console
switch_channel_t * channel
switch_audio_resampler_t * read_resampler
switch_mutex_t * frame_read_mutex
uint8_t enc_write_buf[SWITCH_RECOMMENDED_BUFFER_SIZE]
void switch_core_session_uninit(void)
void * video_read_user_data
switch_codec_t * write_codec
switch_core_video_thread_callback_func_t text_read_callback
switch_media_bug_t * bugs
switch_mutex_t * resample_mutex
switch_queue_t * message_queue
switch_hash_t * mime_type_exts
uint32_t event_heartbeat_interval
switch_mutex_t * text_mutex
switch_io_routines_t * io_override
An abstraction of a data frame.
switch_thread_cond_t * cond
uint32_t db_handle_timeout
char uuid_str[SWITCH_UUID_FORMATTED_LENGTH+1]
switch_thread_rwlock_t * io_rwlock
pthread_t switch_thread_id_t
switch_mutex_t * session_hash_mutex
switch_buffer_t * raw_read_buffer
switch_memory_pool_t * memory_pool
void * text_read_user_data
switch_mutex_t * global_mutex
#define SWITCH_CORE_SESSION_MAX_PRIVATES
struct fspr_thread_mutex_t switch_mutex_t
switch_frame_t raw_read_frame
switch_hash_t * mime_types
An audio resampling handle.
switch_core_video_thread_callback_func_t video_read_callback
uint32_t max_dtmf_duration
switch_queue_t * private_event_queue_pri
void * switch_plc_state_t
switch_memory_pool_t * pool
switch_status_t
Common return values.
uint8_t enc_read_buf[SWITCH_RECOMMENDED_BUFFER_SIZE]
switch_hash_t * session_table
void switch_core_sqldb_stop(void)
switch_log_level_t hard_log_level
uint32_t default_dtmf_duration
struct switch_session_manager session_manager
switch_frame_t enc_write_frame
struct fspr_thread_cond_t switch_thread_cond_t
switch_status_t(* switch_core_video_thread_callback_func_t)(switch_core_session_t *session, switch_frame_t *frame, void *user_data)
char * core_db_pre_trans_execute
uint32_t port_alloc_flags
switch_ivr_dmachine_t * dmachine[2]
switch_mutex_t * uuid_mutex
switch_memory_pool_t * memory_pool
A table of settings and callbacks that define a paticular implementation of a codec.
switch_endpoint_interface_t * endpoint_interface
struct fspr_pool_t switch_memory_pool_t
switch_codec_t * real_write_codec
switch_log_level_t loglevel
uint8_t raw_write_buf[SWITCH_RECOMMENDED_BUFFER_SIZE]
uint32_t cpu_idle_smoothing_depth
char * core_db_inner_pre_trans_execute
int multiple_registrations
switch_slin_data_t * sdata
switch_thread_id_t thread_id
struct fspr_thread_t switch_thread_t
typedefSWITCH_BEGIN_EXTERN_C struct switch_io_event_hooks switch_io_event_hooks_t
switch_frame_t raw_write_frame
void switch_core_state_machine_init(switch_memory_pool_t *pool)
struct fspr_thread_rwlock_t switch_thread_rwlock_t
switch_thread_rwlock_t * rwlock
switch_status_t switch_core_sqldb_init(const char **err)
switch_buffer_t * text_line_buffer
switch_app_log_t * app_log
switch_log_level_t
Log Level Enumeration.
switch_profile_timer_t * profile_timer
#define SWITCH_UUID_FORMATTED_LENGTH
uint32_t read_frame_count
void switch_core_sqldb_destroy(void)