pub enum RTCSdpSemantics {
Unspecified,
UnifiedPlan,
PlanB,
UnifiedPlanWithFallback,
}
Expand description
SDPSemantics determines which style of SDP offers and answers can be used.
This is unsused, we only support UnifiedPlan.
Variants§
Unspecified
UnifiedPlan
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
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
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§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<RTCSdpSemantics> for RTCSdpSemantics
impl PartialEq<RTCSdpSemantics> 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 ==
.