RTS API Documentation
1.10.11
|
Definition at line 212 of file switch_core_media.c.
switch_channel_t* switch_media_handle_s::channel |
Definition at line 214 of file switch_core_media.c.
char* switch_media_handle_s::cname |
Definition at line 252 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 239 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 221 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 222 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 223 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 233 of file switch_core_media.c.
Referenced by audio_write_thread(), switch_core_media_check_engine_function(), switch_core_media_deactivate_rtp(), switch_core_media_end_engine_function(), switch_core_media_get_vid_params(), switch_core_media_start_engine_function(), switch_core_session_read_video_frame(), 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_text_read_callback(), switch_core_session_video_read_callback(), switch_media_handle_create(), text_helper_thread(), and video_helper_thread().
switch_rtp_crypto_mode_t switch_media_handle_s::crypto_mode |
Definition at line 254 of file switch_core_media.c.
Referenced by check_stream_changes(), 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 255 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(), switch_core_session_parse_crypto_prefs(), and switch_media_handle_create().
switch_payload_t switch_media_handle_s::dtmf_ianacodes[SWITCH_MAX_CODECS] |
Definition at line 238 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 217 of file switch_core_media.c.
Referenced by audio_write_thread(), check_ice(), check_jb(), check_jb_sync(), clear_ice(), gen_ice(), generate_local_fingerprint(), 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_build_crypto(), switch_core_media_check_autoadj(), switch_core_media_check_dtls(), switch_core_media_check_engine_function(), 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_codec_get_cap(), switch_core_media_deactivate_rtp(), switch_core_media_end_engine_function(), switch_core_media_gen_local_sdp(), switch_core_media_get_engine(), switch_core_media_get_jb(), switch_core_media_get_media_bw_mult(), 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_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_reset_t38(), switch_core_media_resume(), switch_core_media_set_codec(), switch_core_media_set_media_bw_mult(), switch_core_media_set_outgoing_bitrate(), 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_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_clear_crypto(), 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_parse_codec_settings(), switch_core_session_passthru(), switch_core_session_remote_media_flow(), 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_wait_for_video_input_params(), switch_core_session_wake_video_thread(), switch_core_session_write_text_frame(), switch_core_session_write_video_frame(), switch_media_handle_create(), switch_media_handle_destroy(), text_helper_thread(), video_helper_thread(), and video_write_thread().
smh_flag_t switch_media_handle_s::flags |
Definition at line 216 of file switch_core_media.c.
char switch_media_handle_s::fmtp[SWITCH_MAX_CODECS][MAX_FMTP_LEN] |
Definition at line 224 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().
char* switch_media_handle_s::fmtps[SWITCH_MAX_CODECS] |
Definition at line 240 of file switch_core_media.c.
Referenced by generate_m(), switch_core_media_gen_local_sdp(), and switch_core_media_negotiate_sdp().
switch_payload_t switch_media_handle_s::ianacodes[SWITCH_MAX_CODECS] |
Definition at line 237 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 258 of file switch_core_media.c.
switch_time_t switch_media_handle_s::last_text_frame |
Definition at line 274 of file switch_core_media.c.
Referenced by switch_core_session_read_text_frame().
switch_time_t switch_media_handle_s::last_video_refresh_req |
Definition at line 259 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 215 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(), switch_core_session_media_flow(), switch_core_session_remote_media_flow(), switch_media_handle_clear_media_flag(), switch_media_handle_create(), switch_media_handle_set_media_flag(), switch_media_handle_set_media_flags(), and switch_media_handle_test_media_flag().
switch_core_media_params_t* switch_media_handle_s::mparams |
Definition at line 249 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_nat(), 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_mparams(), 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(), switch_core_session_write_video_frame(), and switch_media_handle_create().
char* switch_media_handle_s::msid |
Definition at line 251 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_msrp_session_t* switch_media_handle_s::msrp_session |
Definition at line 218 of file switch_core_media.c.
Referenced by switch_core_media_gen_local_sdp(), switch_core_media_get_msrp_session(), switch_core_media_negotiate_sdp(), and switch_media_handle_destroy().
switch_mutex_t* switch_media_handle_s::mutex |
Definition at line 231 of file switch_core_media.c.
Referenced by switch_core_media_receive_message(), and switch_media_handle_create().
const switch_codec_implementation_t* switch_media_handle_s::negotiated_codecs[SWITCH_MAX_CODECS] |
Definition at line 235 of file switch_core_media.c.
Referenced by switch_core_media_negotiate_sdp().
int switch_media_handle_s::num_negotiated_codecs |
Definition at line 236 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 244 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 226 of file switch_core_media.c.
Referenced by switch_core_media_negotiate_sdp().
uint32_t switch_media_handle_s::owner_id |
Definition at line 246 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 225 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 243 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[SWITCH_MEDIA_TYPE_TOTAL] |
Definition at line 219 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 269 of file switch_core_media.c.
Referenced by switch_core_session_read_video_frame().
int switch_media_handle_s::rej_idx |
Definition at line 229 of file switch_core_media.c.
Referenced by stream_rejected(), and switch_core_media_negotiate_sdp().
sdp_media_e switch_media_handle_s::rejected_streams[MAX_REJ_STREAMS] |
Definition at line 228 of file switch_core_media.c.
Referenced by stream_rejected(), and switch_core_media_negotiate_sdp().
switch_mutex_t* switch_media_handle_s::sdp_mutex |
Definition at line 232 of file switch_core_media.c.
Referenced by generate_m(), 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(), switch_core_session_get_payload_code(), and switch_media_handle_create().
switch_core_session_t* switch_media_handle_s::session |
Definition at line 213 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(), switch_ice_direction(), and switch_media_handle_create().
uint32_t switch_media_handle_s::session_id |
Definition at line 247 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 267 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 263 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_blank_video(), switch_core_session_write_video_frame(), video_helper_thread(), and video_write_thread().
time_t switch_media_handle_s::vid_started |
Definition at line 268 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 241 of file switch_core_media.c.
Referenced by switch_core_media_check_video_codecs().
switch_time_t switch_media_handle_s::video_init |
Definition at line 257 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 256 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 264 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 260 of file switch_core_media.c.
Referenced by switch_core_session_write_video_frame(), and switch_media_handle_destroy().
switch_file_handle_t* switch_media_handle_s::video_write_fh |
Definition at line 265 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 271 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 272 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[SWITCH_MEDIA_TYPE_TOTAL] |
Definition at line 220 of file switch_core_media.c.
Referenced by switch_core_media_activate_rtp(), switch_core_session_start_video_thread(), switch_core_session_write_text_frame(), switch_core_session_write_video_frame(), and video_write_thread().