pub struct AudioCodec {
pub mime_type: MimeTypeAudio,
pub clock_rate: u32,
pub parameters: RtpCodecParametersParameters,
pub rtcp_feedback: Vec<RtcpFeedback>,
}Available on crate feature
rtc only.Fields§
§mime_type: MimeTypeAudio§clock_rate: u32§parameters: RtpCodecParametersParameters§rtcp_feedback: Vec<RtcpFeedback>Implementations§
Source§impl AudioCodec
impl AudioCodec
pub fn from(codec: &str) -> AudioCodec
Auto Trait Implementations§
impl Freeze for AudioCodec
impl RefUnwindSafe for AudioCodec
impl Send for AudioCodec
impl Sync for AudioCodec
impl Unpin for AudioCodec
impl UnwindSafe for AudioCodec
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