caption: WebRTC per URL IP Handling
desc: |-
  This policy allows restricting which IP addresses and interfaces WebRTC uses when attempting to find the best available connection for each specific URL pattern.

  It accepts a list of URL patterns and handling type pairs. The URL patterns are checked in order and the first match will configure which handling is used by WebRTC for the domain. When the URL of the current document is not matched against any entry, it uses the configuration set by the policy <ph name="WEB_RTC_IP_HANDLING_POLICY_NAME">WebRtcIPHandling</ph>.

  For detailed information on valid input patterns, please see https://chromeenterprise.google/policies/url-patterns/. Wildcards, <ph name="WILDCARD_VALUE">*</ph>, are allowed. This policy only matches based on origin, so any path in the URL pattern is ignored.

  Valid handling values:

  * default - WebRTC uses all network interfaces.

  * default_public_and_private_interfaces - WebRTC uses all public and private interfaces.

  * default_public_interface_only - WebRTC uses all public interfaces, but not private ones.

  * disable_non_proxied_udp - WebRTC uses either UDP SOCKS proxying or will fallback to TCP proxying.

  See RFC 8828 section 5.2 (https://tools.ietf.org/html/rfc8828.html#section-5.2) for a detailed description of all the handling values.
example_value:
- url: 'https://www.example.com'
  handling: default_public_and_private_interfaces
- url:  'https://[*.]example.edu'
  handling: default_public_interface_only
- url: '*'
  handling: disable_non_proxied_udp
features:
  dynamic_refresh: true
  per_profile: true
owners:
- file://third_party/blink/renderer/modules/peerconnection/OWNERS
- guidou@chromium.org
schema:
  type: array
  items:
    type: object
    properties:
      url:
        type: string
      handling:
        type: string
        enum:
        - default
        - default_public_and_private_interfaces
        - default_public_interface_only
        - disable_non_proxied_udp
supported_on:
- chrome.*:133-
- chrome_os:133-
tags: []
type: dict
