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: u32actual samples transferred per second for those who are not moron g722 RFC writers
bits_per_second: i32bits transferred per second
microseconds_per_packet: i32number of microseconds of media in one packet (ptime * 1000)
max_ptime: i32maximum ptime in ms
min_ptime: i32minimum ptime in ms
stereo: i32stereo, typically bidirectional
sprop_stereo: i32§private_info: *mut c_voidprivate data for the codec module to store handle specific info