Type Alias switch_codec_fmtp_t

Source
pub type switch_codec_fmtp_t = switch_codec_fmtp;
Expand description

an abstract handle of a fmtp parsed by codec

Aliased Type§

#[repr(C)]
pub struct switch_codec_fmtp_t { pub actual_samples_per_second: u32, pub bits_per_second: i32, pub microseconds_per_packet: i32, pub max_ptime: i32, pub min_ptime: i32, pub stereo: i32, pub sprop_stereo: i32, pub private_info: *mut c_void, }

Fields§

§actual_samples_per_second: u32

actual samples transferred per second for those who are not moron g722 RFC writers

§bits_per_second: i32

bits transferred per second

§microseconds_per_packet: i32

number of microseconds of media in one packet (ptime * 1000)

§max_ptime: i32

maximum ptime in ms

§min_ptime: i32

minimum ptime in ms

§stereo: i32

stereo, typically bidirectional

§sprop_stereo: i32§private_info: *mut c_void

private data for the codec module to store handle specific info