RTS API Documentation
1.10.11
|
#include <switch_module_interfaces.h>
Data Fields | |
switch_codec_interface_t * | codec_interface |
const switch_codec_implementation_t * | implementation |
char * | fmtp_in |
char * | fmtp_out |
uint32_t | flags |
switch_memory_pool_t * | memory_pool |
void * | private_info |
switch_payload_t | agreed_pt |
switch_mutex_t * | mutex |
struct switch_codec * | next |
switch_core_session_t * | session |
switch_frame_t * | cur_frame |
an abstract handle to a codec module
Definition at line 700 of file switch_module_interfaces.h.
switch_payload_t switch_codec::agreed_pt |
Definition at line 715 of file switch_module_interfaces.h.
Referenced by switch_core_media_set_codec(), and switch_core_media_set_video_codec().
switch_codec_interface_t* switch_codec::codec_interface |
the codec interface table this handle uses
Definition at line 702 of file switch_module_interfaces.h.
Referenced by switch_core_codec_destroy(), switch_core_codec_init_with_bitrate(), switch_core_codec_ready(), switch_core_session_read_frame(), and switch_core_session_write_frame().
switch_frame_t* switch_codec::cur_frame |
Definition at line 719 of file switch_module_interfaces.h.
Referenced by switch_core_session_read_frame(), and switch_core_session_write_frame().
uint32_t switch_codec::flags |
flags to modify behaviour
Definition at line 710 of file switch_module_interfaces.h.
Referenced by switch_core_codec_copy(), switch_core_codec_init_with_bitrate(), switch_core_codec_ready(), switch_core_codec_reset(), and switch_speex_destroy().
char* switch_codec::fmtp_in |
fmtp line from remote sdp
Definition at line 706 of file switch_module_interfaces.h.
Referenced by switch_core_codec_copy(), switch_core_codec_init_with_bitrate(), and switch_speex_init().
char* switch_codec::fmtp_out |
fmtp line for local sdp
Definition at line 708 of file switch_module_interfaces.h.
Referenced by switch_core_media_set_codec(), and switch_core_media_set_video_codec().
const switch_codec_implementation_t* switch_codec::implementation |
the specific implementation of the above codec
Definition at line 704 of file switch_module_interfaces.h.
Referenced by check_jb(), main(), rtp_common_write(), setup_ringback(), switch_core_codec_control(), switch_core_codec_copy(), switch_core_codec_decode(), switch_core_codec_decode_video(), switch_core_codec_destroy(), switch_core_codec_encode(), switch_core_codec_encode_video(), switch_core_codec_init_with_bitrate(), switch_core_codec_ready(), switch_core_codec_reset(), switch_core_media_gen_local_sdp(), switch_core_media_negotiate_sdp(), switch_core_media_read_frame(), switch_core_media_read_lock_unlock(), switch_core_media_set_codec(), switch_core_media_set_video_codec(), switch_core_media_write_frame(), switch_core_session_outgoing_channel(), switch_core_session_read_frame(), switch_core_session_set_read_codec(), switch_core_session_set_real_read_codec(), switch_core_session_set_video_read_codec(), switch_core_session_set_video_write_codec(), switch_core_session_set_write_codec(), switch_core_session_write_frame(), switch_g711a_decode(), switch_g711u_decode(), switch_ivr_activate_unicast(), switch_ivr_detect_audio(), switch_ivr_detect_silence(), switch_ivr_eavesdrop_session(), switch_ivr_originate(), switch_ivr_play_file(), switch_ivr_record_file_event(), switch_ivr_speak_text_handle(), switch_ivr_wait_for_answer(), switch_ivr_wait_for_silence(), switch_jb_set_session(), switch_raw_decode(), switch_raw_encode(), switch_rtp_enable_vad(), switch_speex_decode(), and switch_speex_init().
switch_memory_pool_t* switch_codec::memory_pool |
the handle's memory pool
Definition at line 712 of file switch_module_interfaces.h.
Referenced by switch_core_codec_destroy(), switch_core_codec_init_with_bitrate(), and switch_speex_init().
switch_mutex_t* switch_codec::mutex |
Definition at line 716 of file switch_module_interfaces.h.
Referenced by switch_core_codec_control(), switch_core_codec_decode(), switch_core_codec_decode_video(), switch_core_codec_destroy(), switch_core_codec_encode(), switch_core_codec_encode_video(), switch_core_codec_init_with_bitrate(), switch_core_codec_ready(), switch_core_session_read_frame(), switch_core_session_unset_read_codec(), switch_core_session_unset_write_codec(), and switch_core_session_write_frame().
struct switch_codec* switch_codec::next |
Definition at line 717 of file switch_module_interfaces.h.
Referenced by switch_core_session_set_read_codec(), and switch_core_session_set_real_read_codec().
void* switch_codec::private_info |
private data for the codec module to store handle specific info
Definition at line 714 of file switch_module_interfaces.h.
Referenced by switch_speex_decode(), switch_speex_destroy(), switch_speex_encode(), and switch_speex_init().
switch_core_session_t* switch_codec::session |
Definition at line 718 of file switch_module_interfaces.h.
Referenced by switch_core_codec_init_with_bitrate(), and switch_core_media_set_codec().