Interface IceServer.Builder

  • Method Details

    • uris

      An array of URIs, in the form specified in the I-D.petithuguenin-behave-turn-uris spec. These URIs provide the different addresses and/or protocols that can be used to reach the TURN server.

      Parameters:
      uris - An array of URIs, in the form specified in the I-D.petithuguenin-behave-turn-uris spec. These URIs provide the different addresses and/or protocols that can be used to reach the TURN server.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • uris

      IceServer.Builder uris(String... uris)

      An array of URIs, in the form specified in the I-D.petithuguenin-behave-turn-uris spec. These URIs provide the different addresses and/or protocols that can be used to reach the TURN server.

      Parameters:
      uris - An array of URIs, in the form specified in the I-D.petithuguenin-behave-turn-uris spec. These URIs provide the different addresses and/or protocols that can be used to reach the TURN server.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • username

      IceServer.Builder username(String username)

      A username to login to the ICE server.

      Parameters:
      username - A username to login to the ICE server.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • password

      IceServer.Builder password(String password)

      A password to login to the ICE server.

      Parameters:
      password - A password to login to the ICE server.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ttl

      The period of time, in seconds, during which the username and password are valid.

      Parameters:
      ttl - The period of time, in seconds, during which the username and password are valid.
      Returns:
      Returns a reference to this object so that method calls can be chained together.