All Downloads are FREE. Search and download functionalities are using the official Maven repository.

4j.3.0-46-g64a7ca8.source-code.reference.conf Maven / Gradle / Ivy

There is a newer version: 3.2-4-g1373788
Show newest version
ice4j {
   ice {
     max-check-list-size = 100
     // The amount of time that we must wait after ICE processing enters a COMPLETED state before we free candidates
     // and move into the TERMINATED state.
     termination-delay = 3 seconds
   }

  consent-freshness {
    // How often a STUN Binding request used for consent freshness check will be sent.
    interval = 15 seconds
    // The amount of time without a valid STUN Binding response after which a STUN Binding request is to be
    // retransmitted according to `STUN Usage for Consent Freshness` (RFC7675).
    // This is the original value for back-off strategy, while `max-wait-interval` sets the upper limit.
    original-wait-interval = 500 milliseconds
    // The amount of time without a valid STUN Binding response after which a STUN Binding request is to be
    // retransmitted according to `STUN Usage for Consent Freshness` (RFC7675).
    // This is the final value for the back-off strategy, while `original-wait-interval` defines the initial interval for
    // the first request sent.
    max-wait-interval = 500 milliseconds
    // The maximum number of retransmissions of a STUN Binding request without a valid STUN Binding response after which
    // consent freshness is to be considered unconfirmed according to `STUN Usage for Consent Freshness` (RFC7675).
    max-retransmissions = 30
  }

  // Configuration related to harvesting (aka gathering) of local candidates.
  harvest {
    // Whether to harvest IPv6 addresses.
    use-ipv6 = true
    // Whether to use link-local addresses when harvesting candidates.
    use-link-local-addresses = true

    // How long to wait for an individual harvest before timing out.
    timeout = 15 seconds

    // Configuration for the "single port" UDP harvester.
    udp {
      // The size in bytes to set on the UDP socket (SO_RCVBUF). If not specified, the default from the OS will be used.
      #receive-buffer-size = 10485760

      // Whether to allocate ephemeral ports for local candidates.
      use-dynamic-ports = true
    }

    // Configuration for the set of "mapping" harvesters.
    mapping {
      aws {
        enabled = true
        // Whether to use the AWS harvester even when the automatic detection indicates that we are not running in AWS.
        force = false
      }
      stun {
        addresses = [ ]
        # addresses = [ "stun1.example.com:5379", "stun2.example.com:443" ]
      }
      // Pre-configured mappings
      static-mappings = [
        #{
        #    // This results in a candidate for 1.2.3.4:20000 being added whenever a host candidate for
        #    // 10.10.0.123:10000 exists.
        #    local-address = "10.10.0.123"
        #    public-address = "1.2.3.4"
        #    // The ports are optional, but need to either both be provided or both not provided.
        #    local-port = 10000
        #    public-port = 20000
        #    // Optional name
        #    name = "my-mapping-for-a-specific-port"
        #},
        #{
        #    // This results in a candidate for 1.2.3.4:PORT being added whenever a host candidate for 10.10.0.123
        #    // exists, where the PORT is the port of the existing host candidate.
        #    local-address = "10.10.0.123"
        #    public-address = "1.2.3.4"
        #    // Optional name
        #    name = "my-mapping-for-all-ports"
        #}
      ]
    }
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy