pub enum RTCPMuxPolicy {
Negotiate = 1,
Require = 2,
}
Expand description
RTCPMuxPolicy affects what ICE candidates are gathered to support non-multiplexed RTCP.
Variants§
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 RTCPMuxPolicy
impl Clone for RTCPMuxPolicy
Source§fn clone(&self) -> RTCPMuxPolicy
fn clone(&self) -> RTCPMuxPolicy
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 RTCPMuxPolicy
impl Debug for RTCPMuxPolicy
Source§impl Default for RTCPMuxPolicy
impl Default for RTCPMuxPolicy
Source§fn default() -> RTCPMuxPolicy
fn default() -> RTCPMuxPolicy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RTCPMuxPolicy
impl<'de> Deserialize<'de> for RTCPMuxPolicy
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 From<RTCPMuxPolicy> for RTCRtcpMuxPolicy
impl From<RTCPMuxPolicy> for RTCRtcpMuxPolicy
Source§fn from(value: RTCPMuxPolicy) -> Self
fn from(value: RTCPMuxPolicy) -> Self
Converts to this type from the input type.
Source§impl Hash for RTCPMuxPolicy
impl Hash for RTCPMuxPolicy
Source§impl PartialEq for RTCPMuxPolicy
impl PartialEq for RTCPMuxPolicy
Source§impl Serialize for RTCPMuxPolicy
impl Serialize for RTCPMuxPolicy
impl Copy for RTCPMuxPolicy
impl Eq for RTCPMuxPolicy
impl StructuralPartialEq for RTCPMuxPolicy
Auto Trait Implementations§
impl Freeze for RTCPMuxPolicy
impl RefUnwindSafe for RTCPMuxPolicy
impl Send for RTCPMuxPolicy
impl Sync for RTCPMuxPolicy
impl Unpin for RTCPMuxPolicy
impl UnwindSafe for RTCPMuxPolicy
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