Skip to content

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.

TURN relays only (iceTransportPolicy: "relay"): no participant learns another’s address.

Relays and direct paths: direct paths reveal addresses to other participants.

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.

Clone, Copy, Debug, Deserialize<'de>, Eq, Hash, PartialEq, Serialize, StructuralPartialEq

Full rustdoc page