Class CommunicationIceServer


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

      • CommunicationIceServer

        public CommunicationIceServer()
    • Method Detail

      • getUrls

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

        public CommunicationIceServer setUrls​(List<String> urls)
        Set the urls property: List of STUN/TURN server URLs.
        Parameters:
        urls - the urls value to set.
        Returns:
        the CommunicationIceServer object itself.
      • getUsername

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

        public CommunicationIceServer setUsername​(String username)
        Set the username property: User account name which uniquely identifies the credentials.
        Parameters:
        username - the username value to set.
        Returns:
        the CommunicationIceServer object itself.
      • getCredential

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

        public CommunicationIceServer setCredential​(String credential)
        Set the credential property: Credential for the server.
        Parameters:
        credential - the credential value to set.
        Returns:
        the CommunicationIceServer object itself.
      • getRouteType

        public RouteType getRouteType()
        Get the routeType property: The routing methodology to where the ICE server will be located from the client.
        Returns:
        the routeType value.
      • setRouteType

        public CommunicationIceServer setRouteType​(RouteType routeType)
        Set the routeType property: The routing methodology to where the ICE server will be located from the client.
        Parameters:
        routeType - the routeType value to set.
        Returns:
        the CommunicationIceServer object itself.