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
sourceimpl Clone for RTCSdpSemantics
impl Clone for RTCSdpSemantics
sourcefn clone(&self) -> RTCSdpSemantics
fn clone(&self) -> RTCSdpSemantics
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 RTCSdpSemantics
impl Debug for RTCSdpSemantics
sourceimpl Default for RTCSdpSemantics
impl Default for RTCSdpSemantics
sourceimpl<'de> Deserialize<'de> for RTCSdpSemantics
impl<'de> Deserialize<'de> for RTCSdpSemantics
sourcefn 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
sourceimpl Display for RTCSdpSemantics
impl Display for RTCSdpSemantics
sourceimpl From<&str> for RTCSdpSemantics
impl From<&str> for RTCSdpSemantics
sourceimpl PartialEq<RTCSdpSemantics> for RTCSdpSemantics
impl PartialEq<RTCSdpSemantics> for RTCSdpSemantics
sourcefn eq(&self, other: &RTCSdpSemantics) -> bool
fn eq(&self, other: &RTCSdpSemantics) -> bool
sourceimpl Serialize for RTCSdpSemantics
impl Serialize for RTCSdpSemantics
impl Copy for RTCSdpSemantics
impl Eq for RTCSdpSemantics
impl StructuralEq 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
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