#[non_exhaustive]pub enum MulticastDnsMode {
Disabled,
QueryOnly,
QueryAndGather,
}Expand description
Represents the different Multicast modes that ICE can run.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Disabled
Means remote mDNS candidates will be discarded, and local host candidates will use IPs. No mDNS message is sent: the mode for an application that wants no mDNS traffic.
QueryOnly
Means remote mDNS candidates will be accepted, and local host candidates will use IPs.
The default (draft-ietf-mmusic-mdns-ice-candidates Section 3.2.1 step 3: “Otherwise,
resolve the candidate using mDNS”): a remote <uuid>.local name is queried, and one
that does not resolve is ignored when its query ends (step 5), logged at debug.
QueryAndGather
Means remote mDNS candidates will be accepted, and local host candidates will use mDNS:
with multicast_dns_local_ip set, the candidates on that IPv4 address are published
under multicast_dns_local_name; without it, every local address (IPv4 and IPv6) under
a <uuid>.local name of its own, as browsers do.