Enum command::object::IcePolicy
zaun_community_protocol::command::object::IcePolicy · Enum
pub enum IcePolicy { … }Which ICE candidates clients may use.
Peer-to-peer media shows each participant’s IP address to the others. Only relay hides
it: every packet goes through a TURN server, which sees addresses but not media.
Variants
Section titled “Variants”TURN relays only (iceTransportPolicy: "relay"): no participant learns another’s
address.
Relays and direct paths: direct paths reveal addresses to other participants.
Direct
Section titled “Direct”The host has no TURN server: media can only go peer to peer, which reveals each participant’s IP address to the others. Clients must ask the user before joining.
Trait implementations
Section titled “Trait implementations”Clone, Copy, Debug, Deserialize<'de>, Eq, Hash, PartialEq, Serialize, StructuralPartialEq