FreeSWITCH API Documentation
1.7.0
|
Definition at line 181 of file switch_core_media.c.
switch_channel_t* switch_media_handle_s::channel |
Definition at line 183 of file switch_core_media.c.
char* switch_media_handle_s::cname |
Definition at line 217 of file switch_core_media.c.
Referenced by gen_ice(), generate_m(), switch_core_media_gen_local_sdp(), and switch_core_session_stop_media().
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] |
Definition at line 189 of file switch_core_media.c.
Referenced by switch_core_media_prepare_codecs(), and switch_core_media_recover_session().
int switch_media_handle_s::codec_order_last |
Definition at line 190 of file switch_core_media.c.
Referenced by switch_core_media_prepare_codecs(), and switch_core_media_recover_session().
const switch_codec_implementation_t* switch_media_handle_s::codecs[SWITCH_MAX_CODECS] |
Definition at line 191 of file switch_core_media.c.
Referenced by generate_m(), switch_core_media_check_video_codecs(), switch_core_media_gen_local_sdp(), switch_core_media_get_offered_pt(), switch_core_media_negotiate_sdp(), switch_core_media_prepare_codecs(), and switch_core_media_recover_session().
switch_mutex_t* switch_media_handle_s::control_mutex |
Definition at line 198 of file switch_core_media.c.
Referenced by switch_core_media_check_video_function(), switch_core_media_end_video_function(), switch_core_media_start_video_function(), switch_core_session_set_video_read_callback(), switch_core_session_start_video_thread(), switch_core_session_video_read_callback(), and video_helper_thread().
switch_rtp_crypto_mode_t switch_media_handle_s::crypto_mode |
Definition at line 219 of file switch_core_media.c.
Referenced by switch_core_media_gen_local_sdp(), switch_core_media_negotiate_sdp(), switch_core_session_check_incoming_crypto(), switch_core_session_check_outgoing_crypto(), and switch_core_session_parse_crypto_prefs().
switch_rtp_crypto_key_type_t switch_media_handle_s::crypto_suite_order[CRYPTO_INVALID+1] |
Definition at line 220 of file switch_core_media.c.
Referenced by generate_m(), switch_core_media_gen_local_sdp(), switch_core_session_check_incoming_crypto(), switch_core_session_check_outgoing_crypto(), and switch_core_session_parse_crypto_prefs().
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] |
Definition at line 202 of file switch_core_media.c.
Referenced by generate_m(), switch_core_media_gen_local_sdp(), and switch_core_media_get_offered_pt().
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] |
Definition at line 184 of file switch_core_media.c.
Referenced by switch_core_media_prepare_codecs(), switch_core_media_read_frame(), switch_core_media_read_lock_unlock(), switch_core_media_receive_message(), switch_core_media_write_frame(), and switch_core_session_media_flow().
switch_core_media_params_t* switch_media_handle_s::mparams |
Definition at line 214 of file switch_core_media.c.
Referenced by check_ice(), check_jb(), generate_m(), greedy_sort(), ip_choose_family(), ip_possible(), switch_core_media_activate_rtp(), switch_core_media_build_crypto(), switch_core_media_check_dtmf_type(), switch_core_media_check_video_codecs(), switch_core_media_choose_port(), switch_core_media_choose_ports(), switch_core_media_deactivate_rtp(), switch_core_media_ext_address_lookup(), switch_core_media_gen_local_sdp(), switch_core_media_get_codec_string(), switch_core_media_get_offered_pt(), switch_core_media_negotiate_sdp(), switch_core_media_patch_sdp(), switch_core_media_prepare_codecs(), switch_core_media_proxy_remote_addr(), switch_core_media_read_frame(), switch_core_media_receive_message(), switch_core_media_recover_session(), switch_core_media_set_local_sdp(), switch_core_media_set_r_sdp_codec_string(), switch_core_media_set_udptl_image_sdp(), switch_core_session_set_ice(), switch_core_session_wake_video_thread(), and switch_core_session_write_video_frame().
char* switch_media_handle_s::msid |
Definition at line 216 of file switch_core_media.c.
Referenced by gen_ice(), generate_m(), switch_core_media_gen_local_sdp(), and switch_core_session_stop_media().
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 |
Definition at line 201 of file switch_core_media.c.
Referenced by switch_core_media_negotiate_sdp(), and switch_core_media_receive_message().
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 |
Definition at line 211 of file switch_core_media.c.
Referenced by switch_core_media_gen_local_sdp(), switch_core_media_patch_sdp(), switch_core_media_set_udptl_image_sdp(), and switch_core_session_stop_media().
int switch_media_handle_s::payload_space |
Definition at line 193 of file switch_core_media.c.
Referenced by switch_core_media_gen_local_sdp(), switch_core_media_prepare_codecs(), and switch_core_media_recover_session().
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] |
Definition at line 187 of file switch_core_media.c.
Referenced by switch_core_media_activate_rtp(), switch_core_media_read_frame(), switch_core_media_read_lock_unlock(), and switch_core_session_start_video_thread().
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 |
Definition at line 197 of file switch_core_media.c.
Referenced by switch_core_media_add_payload_map(), switch_core_media_gen_local_sdp(), switch_core_media_negotiate_sdp(), switch_core_media_read_frame(), switch_core_media_set_local_sdp(), and switch_core_session_get_payload_code().
switch_core_session_t* switch_media_handle_s::session |
Definition at line 182 of file switch_core_media.c.
Referenced by check_ice(), ip_choose_family(), switch_core_media_activate_rtp(), switch_core_media_build_crypto(), switch_core_media_choose_ports(), switch_core_media_gen_local_sdp(), switch_core_media_negotiate_sdp(), switch_core_media_prepare_codecs(), switch_core_media_recover_session(), switch_core_session_check_incoming_crypto(), switch_core_session_stop_media(), switch_core_session_write_video_frame(), and switch_media_handle_create().
uint32_t switch_media_handle_s::session_id |
Definition at line 212 of file switch_core_media.c.
Referenced by switch_core_media_gen_local_sdp(), switch_core_media_patch_sdp(), switch_core_media_set_udptl_image_sdp(), and switch_core_session_stop_media().
uint64_t switch_media_handle_s::vid_frames |
Definition at line 233 of file switch_core_media.c.
Referenced by switch_core_media_get_video_fps(), and switch_core_media_read_frame().
switch_vid_params_t switch_media_handle_s::vid_params |
Definition at line 229 of file switch_core_media.c.
Referenced by switch_core_media_get_vid_params(), switch_core_media_get_video_fps(), switch_core_session_read_video_frame(), switch_core_session_wait_for_video_input_params(), switch_core_session_write_video_frame(), and video_helper_thread().
time_t switch_media_handle_s::vid_started |
Definition at line 234 of file switch_core_media.c.
Referenced by switch_core_media_get_video_fps(), and switch_core_media_read_frame().
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 |
Definition at line 226 of file switch_core_media.c.
Referenced by switch_core_media_start_video_function(), and video_helper_thread().
int8_t switch_media_handle_s::video_function_running |
Definition at line 228 of file switch_core_media.c.
Referenced by switch_core_media_check_video_function(), switch_core_media_end_video_function(), switch_core_media_start_video_function(), and video_helper_thread().
switch_time_t switch_media_handle_s::video_init |
Definition at line 222 of file switch_core_media.c.
Referenced by switch_core_session_video_reinit(), and switch_core_session_write_video_frame().
switch_time_t switch_media_handle_s::video_last_key_time |
Definition at line 221 of file switch_core_media.c.
Referenced by switch_core_session_video_reinit(), and switch_core_session_write_video_frame().
switch_file_handle_t* switch_media_handle_s::video_read_fh |
Definition at line 230 of file switch_core_media.c.
Referenced by switch_core_media_get_video_file(), switch_core_media_set_video_file(), and video_helper_thread().
switch_timer_t switch_media_handle_s::video_timer |
Definition at line 225 of file switch_core_media.c.
Referenced by switch_core_session_write_video_frame(), and switch_media_handle_destroy().
void* switch_media_handle_s::video_user_data |
Definition at line 227 of file switch_core_media.c.
Referenced by switch_core_media_start_video_function(), and video_helper_thread().
switch_file_handle_t* switch_media_handle_s::video_write_fh |
Definition at line 231 of file switch_core_media.c.
Referenced by switch_core_media_get_video_file(), switch_core_media_set_video_file(), and video_write_thread().
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] |
Definition at line 188 of file switch_core_media.c.
Referenced by switch_core_media_activate_rtp(), switch_core_session_start_video_thread(), and switch_core_session_write_video_frame().