pub enum RTCRtcpMuxPolicy {
Unspecified = 0,
Negotiate = 1,
Require = 2,
}
Expand description
RTCPMuxPolicy affects what ICE candidates are gathered to support non-multiplexed RTCP.
Variants§
Unspecified = 0
Negotiate = 1
RTCPMuxPolicyNegotiate indicates to gather ICE candidates for both RTP and RTCP candidates. If the remote-endpoint is capable of multiplexing RTCP, multiplex RTCP on the RTP candidates. If it is not, use both the RTP and RTCP candidates separately.
Require = 2
RTCPMuxPolicyRequire indicates to gather ICE candidates only for RTP and multiplex RTCP on the RTP candidates. If the remote endpoint is not capable of rtcp-mux, session negotiation will fail.
Trait Implementations§
source§impl Clone for RTCRtcpMuxPolicy
impl Clone for RTCRtcpMuxPolicy
source§fn clone(&self) -> RTCRtcpMuxPolicy
fn clone(&self) -> RTCRtcpMuxPolicy
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 RTCRtcpMuxPolicy
impl Debug for RTCRtcpMuxPolicy
source§impl Default for RTCRtcpMuxPolicy
impl Default for RTCRtcpMuxPolicy
source§fn default() -> RTCRtcpMuxPolicy
fn default() -> RTCRtcpMuxPolicy
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for RTCRtcpMuxPolicy
impl<'de> Deserialize<'de> for RTCRtcpMuxPolicy
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 RTCRtcpMuxPolicy
impl Display for RTCRtcpMuxPolicy
source§impl From<&str> for RTCRtcpMuxPolicy
impl From<&str> for RTCRtcpMuxPolicy
source§impl PartialEq for RTCRtcpMuxPolicy
impl PartialEq for RTCRtcpMuxPolicy
source§fn eq(&self, other: &RTCRtcpMuxPolicy) -> bool
fn eq(&self, other: &RTCRtcpMuxPolicy) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for RTCRtcpMuxPolicy
impl Serialize for RTCRtcpMuxPolicy
impl Copy for RTCRtcpMuxPolicy
impl Eq for RTCRtcpMuxPolicy
impl StructuralPartialEq for RTCRtcpMuxPolicy
Auto Trait Implementations§
impl Freeze for RTCRtcpMuxPolicy
impl RefUnwindSafe for RTCRtcpMuxPolicy
impl Send for RTCRtcpMuxPolicy
impl Sync for RTCRtcpMuxPolicy
impl Unpin for RTCRtcpMuxPolicy
impl UnwindSafe for RTCRtcpMuxPolicy
Blanket Implementations§
source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
source§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