Skip to main content

7. Application Guidance

7. Application Guidance

WebRTC applications can control the ICE gathering policy via the RTCConfiguration object.

  • iceTransportPolicy: Can be set to "relay" to force Mode 3 (Relay only).
  • Privacy UI: Applications should inform users if P2P connections are being established and potentially offer settings to control IP exposure (e.g., a "Privacy Mode" that forces relay usage).

Applications should be prepared to handle mDNS hostnames in ICE candidates (though standard ICE stacks handle this automatically).