Class CommunicationIceServer

java.lang.Object
com.azure.communication.networktraversal.models.CommunicationIceServer

public final class CommunicationIceServer extends Object
An instance of a STUN/TURN server with credentials to be used for ICE negotiation.
  • Constructor Details

    • CommunicationIceServer

      public CommunicationIceServer()
  • Method Details

    • getUrls

      public List<String> getUrls()
      Get the urls property: List of STUN/TURN server URLs.
      Returns:
      the urls value.
    • getUsername

      public String getUsername()
      Get the username property: User account name which uniquely identifies the credentials.
      Returns:
      the username value.
    • getCredential

      public String getCredential()
      Get the credential property: Credential for the server.
      Returns:
      the credential value.
    • getRouteType

      public RouteType getRouteType()
      Get the routeType property: The routing methodology to where the ICE server will be located from the client. "any" will have higher reliability while "nearest" will have lower latency. It is recommended to default to use the "any" routing method unless there are specific scenarios which minimizing latency is critical.
      Returns:
      the routeType value.