Enum webrtc_ice::UDPNetwork [−][src]
pub enum UDPNetwork {
Ephemeral(EphemeralUDP),
Muxed(Arc<dyn UDPMux + Send + Sync>),
}
Expand description
Configuration for the underlying UDP network stack. There are two ways to configure this Ephemeral and Muxed.
Ephemeral mode
In Ephemeral mode sockets are created and bound to random ports during ICE
gathering. The ports to use can be restricted by setting EphemeralUDP::port_min
and
[EphemeralEphemeralUDP::port_max
] in which case only ports in this range will be used.
Muxed
In muxed mode a single UDP socket is used and all connections are muxed over this single socket.
Variants
Ephemeral(EphemeralUDP)
Tuple Fields of Ephemeral
0: EphemeralUDP
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for UDPNetwork
impl Send for UDPNetwork
impl Sync for UDPNetwork
impl Unpin for UDPNetwork
impl !UnwindSafe for UDPNetwork
Blanket Implementations
Mutably borrows from an owned value. Read more