Struct webrtc::rtp_transceiver::rtp_codec::RTCRtpCodecParameters
source · pub struct RTCRtpCodecParameters {
pub capability: RTCRtpCodecCapability,
pub payload_type: PayloadType,
pub stats_id: String,
}
Expand description
RTPCodecParameters is a sequence containing the media codecs that an RtpSender will choose from, as well as entries for RTX, RED and FEC mechanisms. This also includes the PayloadType that has been negotiated https://w3c.github.io/webrtc-pc/#rtcrtpcodecparameters
Fields§
§capability: RTCRtpCodecCapability
§payload_type: PayloadType
§stats_id: String
Trait Implementations§
source§impl Clone for RTCRtpCodecParameters
impl Clone for RTCRtpCodecParameters
source§fn clone(&self) -> RTCRtpCodecParameters
fn clone(&self) -> RTCRtpCodecParameters
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 RTCRtpCodecParameters
impl Debug for RTCRtpCodecParameters
source§impl Default for RTCRtpCodecParameters
impl Default for RTCRtpCodecParameters
source§fn default() -> RTCRtpCodecParameters
fn default() -> RTCRtpCodecParameters
Returns the “default value” for a type. Read more
source§impl From<&RTCRtpCodecParameters> for CodecStats
impl From<&RTCRtpCodecParameters> for CodecStats
source§fn from(codec: &RTCRtpCodecParameters) -> Self
fn from(codec: &RTCRtpCodecParameters) -> Self
Converts to this type from the input type.
source§impl PartialEq for RTCRtpCodecParameters
impl PartialEq for RTCRtpCodecParameters
source§fn eq(&self, other: &RTCRtpCodecParameters) -> bool
fn eq(&self, other: &RTCRtpCodecParameters) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for RTCRtpCodecParameters
impl StructuralPartialEq for RTCRtpCodecParameters
Auto Trait Implementations§
impl Freeze for RTCRtpCodecParameters
impl RefUnwindSafe for RTCRtpCodecParameters
impl Send for RTCRtpCodecParameters
impl Sync for RTCRtpCodecParameters
impl Unpin for RTCRtpCodecParameters
impl UnwindSafe for RTCRtpCodecParameters
Blanket Implementations§
source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
source§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