pub enum SdpAttribute {
Show 43 variants
BundleOnly,
Candidate(SdpAttributeCandidate),
DtlsMessage(SdpAttributeDtlsMessage),
EndOfCandidates,
Extmap(SdpAttributeExtmap),
ExtmapAllowMixed,
Fingerprint(SdpAttributeFingerprint),
Fmtp(SdpAttributeFmtp),
FrameRate(f64),
Group(SdpAttributeGroup),
IceLite,
IceMismatch,
IceOptions(Vec<String>),
IcePacing(u64),
IcePwd(String),
IceUfrag(String),
Identity(String),
ImageAttr(SdpAttributeImageAttr),
Inactive,
Label(String),
MaxMessageSize(u64),
MaxPtime(u64),
Mid(String),
Msid(SdpAttributeMsid),
MsidSemantic(SdpAttributeMsidSemantic),
Ptime(u64),
Rid(SdpAttributeRid),
Recvonly,
RemoteCandidate(SdpAttributeRemoteCandidate),
Rtpmap(SdpAttributeRtpmap),
Rtcp(SdpAttributeRtcp),
Rtcpfb(SdpAttributeRtcpFb),
RtcpMux,
RtcpMuxOnly,
RtcpRsize,
Sctpmap(SdpAttributeSctpmap),
SctpPort(u64),
Sendonly,
Sendrecv,
Setup(SdpAttributeSetup),
Simulcast(SdpAttributeSimulcast),
Ssrc(SdpAttributeSsrc),
SsrcGroup(SdpSsrcGroupSemantic, Vec<SdpAttributeSsrc>),
}
Variants§
BundleOnly
Candidate(SdpAttributeCandidate)
DtlsMessage(SdpAttributeDtlsMessage)
EndOfCandidates
Extmap(SdpAttributeExtmap)
ExtmapAllowMixed
Fingerprint(SdpAttributeFingerprint)
Fmtp(SdpAttributeFmtp)
FrameRate(f64)
Group(SdpAttributeGroup)
IceLite
IceMismatch
IceOptions(Vec<String>)
IcePacing(u64)
IcePwd(String)
IceUfrag(String)
Identity(String)
ImageAttr(SdpAttributeImageAttr)
Inactive
Label(String)
MaxMessageSize(u64)
MaxPtime(u64)
Mid(String)
Msid(SdpAttributeMsid)
MsidSemantic(SdpAttributeMsidSemantic)
Ptime(u64)
Rid(SdpAttributeRid)
Recvonly
RemoteCandidate(SdpAttributeRemoteCandidate)
Rtpmap(SdpAttributeRtpmap)
Rtcp(SdpAttributeRtcp)
Rtcpfb(SdpAttributeRtcpFb)
RtcpMux
RtcpMuxOnly
RtcpRsize
Sctpmap(SdpAttributeSctpmap)
SctpPort(u64)
Sendonly
Sendrecv
Setup(SdpAttributeSetup)
Simulcast(SdpAttributeSimulcast)
Ssrc(SdpAttributeSsrc)
SsrcGroup(SdpSsrcGroupSemantic, Vec<SdpAttributeSsrc>)
Implementations§
Source§impl SdpAttribute
impl SdpAttribute
pub fn allowed_at_session_level(&self) -> bool
pub fn allowed_at_media_level(&self) -> bool
Trait Implementations§
Source§impl AnonymizingClone for SdpAttribute
impl AnonymizingClone for SdpAttribute
fn masked_clone(&self, anon: &mut StatefulSdpAnonymizer) -> Self
Source§impl Clone for SdpAttribute
impl Clone for SdpAttribute
Source§fn clone(&self) -> SdpAttribute
fn clone(&self) -> SdpAttribute
Returns a duplicate 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 SdpAttribute
impl Debug for SdpAttribute
Source§impl Display for SdpAttribute
impl Display for SdpAttribute
Source§impl<'a> From<&'a SdpAttribute> for SdpAttributeType
impl<'a> From<&'a SdpAttribute> for SdpAttributeType
Source§fn from(other: &SdpAttribute) -> Self
fn from(other: &SdpAttribute) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SdpAttribute
impl RefUnwindSafe for SdpAttribute
impl Send for SdpAttribute
impl Sync for SdpAttribute
impl Unpin for SdpAttribute
impl UnwindSafe for SdpAttribute
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