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 Summary
Constructors Constructor Description CommunicationIceServer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCredential()
Get the credential property: Credential for the server.RouteType
getRouteType()
Get the routeType property: The routing methodology to where the ICE server will be located from the client.List<String>
getUrls()
Get the urls property: List of STUN/TURN server URLs.String
getUsername()
Get the username property: User account name which uniquely identifies the credentials.
-
-
-
Method Detail
-
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.
-
-