pub enum RTCSdpSemantics {
Unspecified = 0,
UnifiedPlan = 1,
PlanB = 2,
UnifiedPlanWithFallback = 3,
}
Expand description
SDPSemantics determines which style of SDP offers and answers can be used.
This is unused, we only support UnifiedPlan.
Variants§
Unspecified = 0
UnifiedPlan = 1
UnifiedPlan uses unified-plan offers and answers (the default in Chrome since M72) https://tools.ietf.org/html/draft-roach-mmusic-unified-plan-00
PlanB = 2
PlanB uses plan-b offers and answers NB: This format should be considered deprecated https://tools.ietf.org/html/draft-uberti-rtcweb-plan-00
UnifiedPlanWithFallback = 3
UnifiedPlanWithFallback prefers unified-plan offers and answers, but will respond to a plan-b offer with a plan-b answer
Trait Implementations§
source§impl Clone for RTCSdpSemantics
impl Clone for RTCSdpSemantics
source§fn clone(&self) -> RTCSdpSemantics
fn clone(&self) -> RTCSdpSemantics
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 RTCSdpSemantics
impl Debug for RTCSdpSemantics
source§impl Default for RTCSdpSemantics
impl Default for RTCSdpSemantics
source§fn default() -> RTCSdpSemantics
fn default() -> RTCSdpSemantics
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for RTCSdpSemantics
impl<'de> Deserialize<'de> for RTCSdpSemantics
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for RTCSdpSemantics
impl Display for RTCSdpSemantics
source§impl From<&str> for RTCSdpSemantics
impl From<&str> for RTCSdpSemantics
source§impl PartialEq for RTCSdpSemantics
impl PartialEq for RTCSdpSemantics
source§fn eq(&self, other: &RTCSdpSemantics) -> bool
fn eq(&self, other: &RTCSdpSemantics) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for RTCSdpSemantics
impl Serialize for RTCSdpSemantics
impl Copy for RTCSdpSemantics
impl Eq for RTCSdpSemantics
impl StructuralPartialEq for RTCSdpSemantics
Auto Trait Implementations§
impl RefUnwindSafe for RTCSdpSemantics
impl Send for RTCSdpSemantics
impl Sync for RTCSdpSemantics
impl Unpin for RTCSdpSemantics
impl UnwindSafe for RTCSdpSemantics
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