FreeSWITCH API Documentation  1.7.0
Data Fields
switch_media_handle_s Struct Reference
+ Collaboration diagram for switch_media_handle_s:

Data Fields

switch_core_session_tsession
 
switch_channel_tchannel
 
switch_core_media_flag_t media_flags [SCMF_MAX]
 
smh_flag_t flags
 
switch_rtp_engine_t engines [SWITCH_MEDIA_TYPE_TOTAL]
 
switch_mutex_tread_mutex [2]
 
switch_mutex_twrite_mutex [2]
 
char * codec_order [SWITCH_MAX_CODECS]
 
int codec_order_last
 
const
switch_codec_implementation_t
codecs [SWITCH_MAX_CODECS]
 
int payload_space
 
char * origin
 
switch_mutex_tmutex
 
switch_mutex_tsdp_mutex
 
switch_mutex_tcontrol_mutex
 
const
switch_codec_implementation_t
negotiated_codecs [SWITCH_MAX_CODECS]
 
int num_negotiated_codecs
 
switch_payload_t ianacodes [SWITCH_MAX_CODECS]
 
switch_payload_t dtmf_ianacodes [SWITCH_MAX_CODECS]
 
switch_payload_t cng_ianacodes [SWITCH_MAX_CODECS]
 
char * fmtps [SWITCH_MAX_CODECS]
 
int video_count
 
int rates [SWITCH_MAX_CODECS]
 
uint32_t num_rates
 
uint32_t owner_id
 
uint32_t session_id
 
switch_core_media_params_tmparams
 
char * msid
 
char * cname
 
switch_rtp_crypto_mode_t crypto_mode
 
switch_rtp_crypto_key_type_t crypto_suite_order [CRYPTO_INVALID+1]
 
switch_time_t video_last_key_time
 
switch_time_t video_init
 
switch_time_t last_codec_refresh
 
switch_time_t last_video_refresh_req
 
switch_timer_t video_timer
 
switch_video_function_t video_function
 
void * video_user_data
 
int8_t video_function_running
 
switch_vid_params_t vid_params
 
switch_file_handle_tvideo_read_fh
 
switch_file_handle_tvideo_write_fh
 
uint64_t vid_frames
 
time_t vid_started
 
int ready_loops
 
switch_thread_tvideo_write_thread
 
int video_write_thread_running
 

Detailed Description

Definition at line 181 of file switch_core_media.c.

Field Documentation

switch_channel_t* switch_media_handle_s::channel

Definition at line 183 of file switch_core_media.c.

char* switch_media_handle_s::cname
switch_payload_t switch_media_handle_s::cng_ianacodes[SWITCH_MAX_CODECS]

Definition at line 204 of file switch_core_media.c.

Referenced by generate_m(), and switch_core_media_gen_local_sdp().

char* switch_media_handle_s::codec_order[SWITCH_MAX_CODECS]
int switch_media_handle_s::codec_order_last
const switch_codec_implementation_t* switch_media_handle_s::codecs[SWITCH_MAX_CODECS]
switch_mutex_t* switch_media_handle_s::control_mutex
switch_rtp_crypto_mode_t switch_media_handle_s::crypto_mode
switch_rtp_crypto_key_type_t switch_media_handle_s::crypto_suite_order[CRYPTO_INVALID+1]
switch_payload_t switch_media_handle_s::dtmf_ianacodes[SWITCH_MAX_CODECS]

Definition at line 203 of file switch_core_media.c.

Referenced by generate_m(), and switch_core_media_gen_local_sdp().

switch_rtp_engine_t switch_media_handle_s::engines[SWITCH_MEDIA_TYPE_TOTAL]

Definition at line 186 of file switch_core_media.c.

Referenced by _switch_core_media_pass_zrtp_hash2(), check_ice(), check_jb(), check_jb_sync(), clear_ice(), gen_ice(), generate_local_fingerprint(), generate_m(), 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_build_crypto(), switch_core_media_check_autoadj(), switch_core_media_check_dtls(), switch_core_media_check_outgoing_proxy(), switch_core_media_check_udptl_mode(), switch_core_media_choose_port(), switch_core_media_clear_rtp_flag(), switch_core_media_codec_chosen(), switch_core_media_codec_control(), switch_core_media_deactivate_rtp(), switch_core_media_find_zrtp_hash(), switch_core_media_gen_local_sdp(), switch_core_media_get_jb(), switch_core_media_get_stats(), switch_core_media_get_timer(), switch_core_media_get_video_file(), switch_core_media_kill_socket(), switch_core_media_lock_video_file(), switch_core_media_negotiate_sdp(), switch_core_media_patch_sdp(), switch_core_media_pause(), 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_resume(), switch_core_media_set_codec(), switch_core_media_set_outgoing_bitrate(), switch_core_media_set_rtp_flag(), 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_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_clear_crypto(), switch_core_session_get_payload_code(), switch_core_session_get_recovery_crypto_key(), switch_core_session_in_video_thread(), switch_core_session_media_flow(), switch_core_session_parse_codec_settings(), switch_core_session_start_video_thread(), switch_core_session_stop_media(), switch_core_session_wait_for_video_input_params(), switch_core_session_wake_video_thread(), switch_media_handle_destroy(), video_helper_thread(), and video_write_thread().

smh_flag_t switch_media_handle_s::flags

Definition at line 185 of file switch_core_media.c.

char* switch_media_handle_s::fmtps[SWITCH_MAX_CODECS]

Definition at line 205 of file switch_core_media.c.

Referenced by generate_m(), and switch_core_media_gen_local_sdp().

switch_payload_t switch_media_handle_s::ianacodes[SWITCH_MAX_CODECS]
switch_time_t switch_media_handle_s::last_codec_refresh

Definition at line 223 of file switch_core_media.c.

Referenced by switch_core_media_codec_control().

switch_time_t switch_media_handle_s::last_video_refresh_req

Definition at line 224 of file switch_core_media.c.

Referenced by switch_core_session_request_video_refresh().

switch_core_media_flag_t switch_media_handle_s::media_flags[SCMF_MAX]
switch_core_media_params_t* switch_media_handle_s::mparams
char* switch_media_handle_s::msid
switch_mutex_t* switch_media_handle_s::mutex

Definition at line 196 of file switch_core_media.c.

Referenced by switch_core_media_receive_message().

const switch_codec_implementation_t* switch_media_handle_s::negotiated_codecs[SWITCH_MAX_CODECS]

Definition at line 200 of file switch_core_media.c.

Referenced by switch_core_media_negotiate_sdp().

int switch_media_handle_s::num_negotiated_codecs
uint32_t switch_media_handle_s::num_rates

Definition at line 209 of file switch_core_media.c.

Referenced by generate_m(), and switch_core_media_gen_local_sdp().

char* switch_media_handle_s::origin

Definition at line 194 of file switch_core_media.c.

Referenced by switch_core_media_negotiate_sdp().

uint32_t switch_media_handle_s::owner_id
int switch_media_handle_s::payload_space
int switch_media_handle_s::rates[SWITCH_MAX_CODECS]

Definition at line 208 of file switch_core_media.c.

Referenced by generate_m(), and switch_core_media_gen_local_sdp().

switch_mutex_t* switch_media_handle_s::read_mutex[2]
int switch_media_handle_s::ready_loops

Definition at line 235 of file switch_core_media.c.

Referenced by switch_core_session_read_video_frame().

switch_mutex_t* switch_media_handle_s::sdp_mutex
switch_core_session_t* switch_media_handle_s::session
uint32_t switch_media_handle_s::session_id
uint64_t switch_media_handle_s::vid_frames
switch_vid_params_t switch_media_handle_s::vid_params
time_t switch_media_handle_s::vid_started
int switch_media_handle_s::video_count

Definition at line 206 of file switch_core_media.c.

Referenced by switch_core_media_check_video_codecs().

switch_video_function_t switch_media_handle_s::video_function
int8_t switch_media_handle_s::video_function_running
switch_time_t switch_media_handle_s::video_init
switch_time_t switch_media_handle_s::video_last_key_time
switch_file_handle_t* switch_media_handle_s::video_read_fh
switch_timer_t switch_media_handle_s::video_timer
void* switch_media_handle_s::video_user_data
switch_file_handle_t* switch_media_handle_s::video_write_fh
switch_thread_t* switch_media_handle_s::video_write_thread

Definition at line 237 of file switch_core_media.c.

Referenced by switch_core_media_set_video_file().

int switch_media_handle_s::video_write_thread_running

Definition at line 238 of file switch_core_media.c.

Referenced by switch_core_media_set_video_file(), and video_write_thread().

switch_mutex_t* switch_media_handle_s::write_mutex[2]

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