pub enum RTCRtcpMuxPolicy {
Unspecified,
Negotiate,
Require,
}
Expand description
RTCPMuxPolicy affects what ICE candidates are gathered to support non-multiplexed RTCP.
Variants
Unspecified
Negotiate
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
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
sourceimpl Clone for RTCRtcpMuxPolicy
impl Clone for RTCRtcpMuxPolicy
sourcefn clone(&self) -> RTCRtcpMuxPolicy
fn clone(&self) -> RTCRtcpMuxPolicy
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 RTCRtcpMuxPolicy
impl Debug for RTCRtcpMuxPolicy
sourceimpl Default for RTCRtcpMuxPolicy
impl Default for RTCRtcpMuxPolicy
sourceimpl<'de> Deserialize<'de> for RTCRtcpMuxPolicy
impl<'de> Deserialize<'de> for RTCRtcpMuxPolicy
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 RTCRtcpMuxPolicy
impl Display for RTCRtcpMuxPolicy
sourceimpl From<&str> for RTCRtcpMuxPolicy
impl From<&str> for RTCRtcpMuxPolicy
sourceimpl PartialEq<RTCRtcpMuxPolicy> for RTCRtcpMuxPolicy
impl PartialEq<RTCRtcpMuxPolicy> for RTCRtcpMuxPolicy
sourcefn eq(&self, other: &RTCRtcpMuxPolicy) -> bool
fn eq(&self, other: &RTCRtcpMuxPolicy) -> bool
sourceimpl Serialize for RTCRtcpMuxPolicy
impl Serialize for RTCRtcpMuxPolicy
impl Copy for RTCRtcpMuxPolicy
impl Eq for RTCRtcpMuxPolicy
impl StructuralEq for RTCRtcpMuxPolicy
impl StructuralPartialEq for RTCRtcpMuxPolicy
Auto Trait Implementations
impl RefUnwindSafe for RTCRtcpMuxPolicy
impl Send for RTCRtcpMuxPolicy
impl Sync for RTCRtcpMuxPolicy
impl Unpin for RTCRtcpMuxPolicy
impl UnwindSafe for RTCRtcpMuxPolicy
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