FreeSWITCH API Documentation  1.7.0
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_t
implementation
 
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 672 of file switch_module_interfaces.h.

Field Documentation

switch_payload_t switch_codec::agreed_pt
switch_codec_interface_t* switch_codec::codec_interface

the codec interface table this handle uses

Definition at line 674 of file switch_module_interfaces.h.

Referenced by switch_core_codec_ready().

switch_frame_t* switch_codec::cur_frame

Definition at line 691 of file switch_module_interfaces.h.

Referenced by switch_core_session_read_frame().

uint32_t switch_codec::flags

flags to modify behaviour

Definition at line 682 of file switch_module_interfaces.h.

Referenced by switch_core_codec_ready(), and switch_speex_destroy().

char* switch_codec::fmtp_in

fmtp line from remote sdp

Definition at line 678 of file switch_module_interfaces.h.

Referenced by switch_speex_init().

char* switch_codec::fmtp_out

fmtp line for local sdp

Definition at line 680 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
switch_memory_pool_t* switch_codec::memory_pool

the handle's memory pool

Definition at line 684 of file switch_module_interfaces.h.

Referenced by switch_speex_init().

switch_mutex_t* switch_codec::mutex

Definition at line 688 of file switch_module_interfaces.h.

Referenced by switch_core_codec_ready().

struct switch_codec* switch_codec::next
void* switch_codec::private_info

private data for the codec module to store handle specific info

Definition at line 686 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 690 of file switch_module_interfaces.h.

Referenced by switch_core_media_set_codec().


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