RTS API Documentation  1.10.11
Data Fields
switch_codec Struct Reference

#include <switch_module_interfaces.h>

+ Collaboration diagram for switch_codec:

Data Fields

switch_codec_interface_tcodec_interface
 
const switch_codec_implementation_timplementation
 
char * fmtp_in
 
char * fmtp_out
 
uint32_t flags
 
switch_memory_pool_tmemory_pool
 
void * private_info
 
switch_payload_t agreed_pt
 
switch_mutex_tmutex
 
struct switch_codecnext
 
switch_core_session_tsession
 
switch_frame_tcur_frame
 

Detailed Description

an abstract handle to a codec module

Definition at line 700 of file switch_module_interfaces.h.

Field Documentation

◆ agreed_pt

switch_payload_t switch_codec::agreed_pt

◆ codec_interface

switch_codec_interface_t* switch_codec::codec_interface

◆ cur_frame

switch_frame_t* switch_codec::cur_frame

◆ flags

uint32_t switch_codec::flags

◆ fmtp_in

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

◆ fmtp_out

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

◆ implementation

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

◆ memory_pool

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

◆ mutex

switch_mutex_t* switch_codec::mutex

◆ next

struct switch_codec* switch_codec::next

◆ private_info

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

◆ session

switch_core_session_t* switch_codec::session

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