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<RTCRtpCodecCapability> for RTCRtpCodecCapability
impl PartialEq<RTCRtpCodecCapability> 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 ==
.