33 #ifndef SWITCH_CORE_MEDIA_H 34 #define SWITCH_CORE_MEDIA_H 42 #define SWITCH_MAX_CAND_ACL 25 43 #define SWITCH_NO_CRYPTO_TAG -1 249 const char *ip,
switch_port_t port,
const char *sr,
int force);
303 const char *iananame,
347 #define switch_core_media_gen_key_frame(_session) switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(_session), SWITCH_LOG_DEBUG1, "%s Send KeyFrame\n", switch_core_session_get_name(_session)); \ 348 switch_core_media_codec_control(_session, SWITCH_MEDIA_TYPE_VIDEO, SWITCH_IO_WRITE, SCC_VIDEO_GEN_KEYFRAME, SCCT_NONE, NULL, SCCT_NONE, NULL, NULL, NULL) 350 #define switch_core_media_write_bandwidth(_session, _val) switch_core_media_codec_control(_session, SWITCH_MEDIA_TYPE_VIDEO, SWITCH_IO_WRITE, \ 351 SCC_VIDEO_BANDWIDTH, SCCT_STRING, _val, SCCT_NONE, NULL, NULL, NULL) 362 #define switch_core_media_read_lock(_s, _t) switch_core_media_read_lock_unlock(_s, _t, SWITCH_TRUE) 363 #define switch_core_media_read_unlock(_s, _t) switch_core_media_read_lock_unlock(_s, _t, SWITCH_FALSE)
switch_rtp_crypto_key_type_t
uint32_t switch_io_flag_t
#define SWITCH_END_EXTERN_C
switch_memory_pool_t * pool
switch_rtp_crypto_direction_t
Abstract handler to a timer module.
A message object designed to allow unlike technologies to exchange data.
uint32_t switch_codec_flag_t
switch_codec_control_command_t
switch_codec_control_type_t
void(* switch_engine_function_t)(switch_core_session_t *session, void *user_data)
An abstraction of a data frame.
switch_status_t
Common return values.
switch_rtp_flag_t
RTP Related Flags.
switch_status_t(* switch_core_text_thread_callback_func_t)(switch_core_session_t *session, switch_frame_t *frame, void *user_data)
struct fspr_pool_t switch_memory_pool_t
struct fspr_thread_t switch_thread_t
#define SWITCH_BEGIN_EXTERN_C