#[repr(C)]pub struct switch_codec_fmtp {
pub actual_samples_per_second: u32,
pub bits_per_second: c_int,
pub microseconds_per_packet: c_int,
pub max_ptime: c_int,
pub min_ptime: c_int,
pub stereo: c_int,
pub sprop_stereo: c_int,
pub private_info: *mut c_void,
}Expand description
an abstract handle of a fmtp parsed by codec
Fields§
§actual_samples_per_second: u32actual samples transferred per second for those who are not moron g722 RFC writers
bits_per_second: c_intbits transferred per second
microseconds_per_packet: c_intnumber of microseconds of media in one packet (ptime * 1000)
max_ptime: c_intmaximum ptime in ms
min_ptime: c_intminimum ptime in ms
stereo: c_intstereo, typically bidirectional
sprop_stereo: c_int§private_info: *mut c_voidprivate data for the codec module to store handle specific info
Trait Implementations§
Source§impl Clone for switch_codec_fmtp
impl Clone for switch_codec_fmtp
Source§fn clone(&self) -> switch_codec_fmtp
fn clone(&self) -> switch_codec_fmtp
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for switch_codec_fmtp
impl Debug for switch_codec_fmtp
impl Copy for switch_codec_fmtp
Auto Trait Implementations§
impl Freeze for switch_codec_fmtp
impl RefUnwindSafe for switch_codec_fmtp
impl !Send for switch_codec_fmtp
impl !Sync for switch_codec_fmtp
impl Unpin for switch_codec_fmtp
impl UnwindSafe for switch_codec_fmtp
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more