RTS API Documentation  1.10.11
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_msrp_session_tmsrp_session
 
switch_mutex_tread_mutex [SWITCH_MEDIA_TYPE_TOTAL]
 
switch_mutex_twrite_mutex [SWITCH_MEDIA_TYPE_TOTAL]
 
char * codec_order [SWITCH_MAX_CODECS]
 
int codec_order_last
 
const switch_codec_implementation_tcodecs [SWITCH_MAX_CODECS]
 
char fmtp [SWITCH_MAX_CODECS][MAX_FMTP_LEN]
 
int payload_space
 
char * origin
 
sdp_media_e rejected_streams [MAX_REJ_STREAMS]
 
int rej_idx
 
switch_mutex_tmutex
 
switch_mutex_tsdp_mutex
 
switch_mutex_tcontrol_mutex
 
const switch_codec_implementation_tnegotiated_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_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
 
switch_time_t last_text_frame
 

Detailed Description

Definition at line 212 of file switch_core_media.c.

Field Documentation

◆ channel

switch_channel_t* switch_media_handle_s::channel

Definition at line 214 of file switch_core_media.c.

◆ cname

char* switch_media_handle_s::cname

◆ cng_ianacodes

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().

◆ codec_order

char* switch_media_handle_s::codec_order[SWITCH_MAX_CODECS]

◆ codec_order_last

int switch_media_handle_s::codec_order_last

◆ codecs

const switch_codec_implementation_t* switch_media_handle_s::codecs[SWITCH_MAX_CODECS]

◆ control_mutex

switch_mutex_t* switch_media_handle_s::control_mutex

◆ crypto_mode

switch_rtp_crypto_mode_t switch_media_handle_s::crypto_mode

◆ crypto_suite_order

switch_rtp_crypto_key_type_t switch_media_handle_s::crypto_suite_order[CRYPTO_INVALID+1]

◆ dtmf_ianacodes

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().

◆ engines

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().

◆ flags

smh_flag_t switch_media_handle_s::flags

Definition at line 216 of file switch_core_media.c.

◆ fmtp

char switch_media_handle_s::fmtp[SWITCH_MAX_CODECS][MAX_FMTP_LEN]

◆ fmtps

char* switch_media_handle_s::fmtps[SWITCH_MAX_CODECS]

◆ ianacodes

switch_payload_t switch_media_handle_s::ianacodes[SWITCH_MAX_CODECS]

◆ last_codec_refresh

switch_time_t switch_media_handle_s::last_codec_refresh

Definition at line 258 of file switch_core_media.c.

◆ last_text_frame

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().

◆ last_video_refresh_req

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().

◆ media_flags

switch_core_media_flag_t switch_media_handle_s::media_flags[SCMF_MAX]

◆ mparams

switch_core_media_params_t* switch_media_handle_s::mparams

◆ msid

char* switch_media_handle_s::msid

◆ msrp_session

switch_msrp_session_t* switch_media_handle_s::msrp_session

◆ mutex

switch_mutex_t* switch_media_handle_s::mutex

◆ negotiated_codecs

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().

◆ num_negotiated_codecs

int switch_media_handle_s::num_negotiated_codecs

◆ num_rates

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().

◆ origin

char* switch_media_handle_s::origin

Definition at line 226 of file switch_core_media.c.

Referenced by switch_core_media_negotiate_sdp().

◆ owner_id

uint32_t switch_media_handle_s::owner_id

◆ payload_space

int switch_media_handle_s::payload_space

◆ rates

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().

◆ read_mutex

switch_mutex_t* switch_media_handle_s::read_mutex[SWITCH_MEDIA_TYPE_TOTAL]

◆ ready_loops

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().

◆ rej_idx

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().

◆ rejected_streams

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().

◆ sdp_mutex

switch_mutex_t* switch_media_handle_s::sdp_mutex

◆ session

switch_core_session_t* switch_media_handle_s::session

◆ session_id

uint32_t switch_media_handle_s::session_id

◆ vid_frames

uint64_t switch_media_handle_s::vid_frames

◆ vid_params

switch_vid_params_t switch_media_handle_s::vid_params

◆ vid_started

time_t switch_media_handle_s::vid_started

◆ video_count

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().

◆ video_init

switch_time_t switch_media_handle_s::video_init

◆ video_last_key_time

switch_time_t switch_media_handle_s::video_last_key_time

◆ video_read_fh

switch_file_handle_t* switch_media_handle_s::video_read_fh

◆ video_timer

switch_timer_t switch_media_handle_s::video_timer

◆ video_write_fh

switch_file_handle_t* switch_media_handle_s::video_write_fh

◆ 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().

◆ video_write_thread_running

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().

◆ write_mutex

switch_mutex_t* switch_media_handle_s::write_mutex[SWITCH_MEDIA_TYPE_TOTAL]

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