Type Alias switch_codec_t

Source
pub type switch_codec_t = switch_codec;
Expand description

an abstract handle to a codec module

Aliased Type§

#[repr(C)]
pub struct switch_codec_t { pub codec_interface: *mut switch_codec_interface, pub implementation: *const switch_codec_implementation, pub fmtp_in: *mut i8, pub fmtp_out: *mut i8, pub flags: u32, pub memory_pool: *mut fspr_pool_t, pub private_info: *mut c_void, pub agreed_pt: u8, pub mutex: *mut fspr_thread_mutex_t, pub next: *mut switch_codec, pub session: *mut switch_core_session, pub cur_frame: *mut switch_frame, }

Fields§

§codec_interface: *mut switch_codec_interface

the codec interface table this handle uses

§implementation: *const switch_codec_implementation

the specific implementation of the above codec

§fmtp_in: *mut i8

fmtp line from remote sdp

§fmtp_out: *mut i8

fmtp line for local sdp

§flags: u32

flags to modify behaviour

§memory_pool: *mut fspr_pool_t

the handle’s memory pool

§private_info: *mut c_void

private data for the codec module to store handle specific info

§agreed_pt: u8§mutex: *mut fspr_thread_mutex_t§next: *mut switch_codec§session: *mut switch_core_session§cur_frame: *mut switch_frame