Class CommunicationIceServer
java.lang.Object
com.azure.communication.networktraversal.models.CommunicationIceServer
An instance of a STUN/TURN server with credentials to be used for ICE negotiation.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the credential property: Credential for the server.Get the routeType property: The routing methodology to where the ICE server will be located from the client.getUrls()
Get the urls property: List of STUN/TURN server URLs.Get the username property: User account name which uniquely identifies the credentials.
-
Constructor Details
-
CommunicationIceServer
public CommunicationIceServer()
-
-
Method Details
-
getUrls
Get the urls property: List of STUN/TURN server URLs.- Returns:
- the urls value.
-
getUsername
Get the username property: User account name which uniquely identifies the credentials.- Returns:
- the username value.
-
getCredential
Get the credential property: Credential for the server.- Returns:
- the credential value.
-
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.
-