Struct webrtc::rtp_transceiver::rtp_codec::RTCRtpCodecCapability
source · pub struct RTCRtpCodecCapability {
pub mime_type: String,
pub clock_rate: u32,
pub channels: u16,
pub sdp_fmtp_line: String,
pub rtcp_feedback: Vec<RTCPFeedback>,
}
Expand description
RTPCodecCapability provides information about codec capabilities. https://w3c.github.io/webrtc-pc/#dictionary-rtcrtpcodeccapability-members
Fields§
§mime_type: String
§clock_rate: u32
§channels: u16
§sdp_fmtp_line: String
§rtcp_feedback: Vec<RTCPFeedback>
Implementations§
Trait Implementations§
source§impl Clone for RTCRtpCodecCapability
impl Clone for RTCRtpCodecCapability
source§fn clone(&self) -> RTCRtpCodecCapability
fn clone(&self) -> RTCRtpCodecCapability
Returns a copy 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 RTCRtpCodecCapability
impl Debug for RTCRtpCodecCapability
source§impl Default for RTCRtpCodecCapability
impl Default for RTCRtpCodecCapability
source§fn default() -> RTCRtpCodecCapability
fn default() -> RTCRtpCodecCapability
Returns the “default value” for a type. Read more
source§impl PartialEq for RTCRtpCodecCapability
impl PartialEq for RTCRtpCodecCapability
source§fn eq(&self, other: &RTCRtpCodecCapability) -> bool
fn eq(&self, other: &RTCRtpCodecCapability) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for RTCRtpCodecCapability
impl StructuralPartialEq for RTCRtpCodecCapability
Auto Trait Implementations§
impl RefUnwindSafe for RTCRtpCodecCapability
impl Send for RTCRtpCodecCapability
impl Sync for RTCRtpCodecCapability
impl Unpin for RTCRtpCodecCapability
impl UnwindSafe for RTCRtpCodecCapability
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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