33 #ifndef SWITCH_CORE_MEDIA_H
34 #define SWITCH_CORE_MEDIA_H
41 #define SWITCH_MAX_CAND_ACL 25
42 #define SWITCH_NO_CRYPTO_TAG -1
239 const
char *ip,
switch_port_t port, const
char *sr,
int force);
287 const
char *iananame,
325 #define switch_core_media_gen_key_frame(_session) switch_core_media_codec_control(_session, SWITCH_MEDIA_TYPE_VIDEO, SWITCH_IO_WRITE, \
326 SCC_VIDEO_GEN_KEYFRAME, SCCT_NONE, NULL, SCCT_NONE, NULL, NULL, NULL) \
328 #define switch_core_media_write_bandwidth(_session, _val) switch_core_media_codec_control(_session, SWITCH_MEDIA_TYPE_VIDEO, SWITCH_IO_WRITE, \
329 SCC_VIDEO_BANDWIDTH, SCCT_STRING, _val, SCCT_NONE, NULL, NULL, NULL) \
340 #define switch_core_media_read_lock(_s, _t) switch_core_media_read_lock_unlock(_s, _t, SWITCH_TRUE)
341 #define switch_core_media_read_unlock(_s, _t) switch_core_media_read_lock_unlock(_s, _t, SWITCH_FALSE)
switch_rtp_crypto_key_type_t
void(* switch_video_function_t)(switch_core_session_t *session, void *user_data)
uint32_t switch_io_flag_t
#define SWITCH_END_EXTERN_C
switch_memory_pool_t * pool
Abstract handler to a timer module.
A message object designed to allow unlike technologies to exchange data.
switch_codec_control_command_t
switch_codec_control_type_t
An abstraction of a data frame.
switch_status_t
Common return values.
struct apr_thread_t switch_thread_t
switch_rtp_flag_t
RTP Related Flags.
struct apr_pool_t switch_memory_pool_t
#define SWITCH_BEGIN_EXTERN_C