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
sourceimpl Clone for RTCRtpCodecParameters
impl Clone for RTCRtpCodecParameters
sourcefn clone(&self) -> RTCRtpCodecParameters
fn clone(&self) -> RTCRtpCodecParameters
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for RTCRtpCodecParameters
impl Debug for RTCRtpCodecParameters
sourceimpl Default for RTCRtpCodecParameters
impl Default for RTCRtpCodecParameters
sourcefn default() -> RTCRtpCodecParameters
fn default() -> RTCRtpCodecParameters
Returns the “default value” for a type. Read more
sourceimpl From<&RTCRtpCodecParameters> for CodecStats
impl From<&RTCRtpCodecParameters> for CodecStats
sourcefn from(codec: &RTCRtpCodecParameters) -> Self
fn from(codec: &RTCRtpCodecParameters) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<RTCRtpCodecParameters> for RTCRtpCodecParameters
impl PartialEq<RTCRtpCodecParameters> for RTCRtpCodecParameters
sourcefn eq(&self, other: &RTCRtpCodecParameters) -> bool
fn eq(&self, other: &RTCRtpCodecParameters) -> bool
impl Eq for RTCRtpCodecParameters
impl StructuralEq for RTCRtpCodecParameters
impl StructuralPartialEq for RTCRtpCodecParameters
Auto Trait Implementations
impl RefUnwindSafe for RTCRtpCodecParameters
impl Send for RTCRtpCodecParameters
impl Sync for RTCRtpCodecParameters
impl Unpin for RTCRtpCodecParameters
impl UnwindSafe for RTCRtpCodecParameters
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more