Class CommunicationRelayConfiguration

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

public final class CommunicationRelayConfiguration extends Object
A relay configuration containing the STUN/TURN URLs and credentials.
  • Constructor Details

    • CommunicationRelayConfiguration

      public CommunicationRelayConfiguration()
  • Method Details

    • getExpiresOn

      public OffsetDateTime getExpiresOn()
      Get the expiresOn property: The date for which the username and credentials are not longer valid. Will be 48 hours from request time.
      Returns:
      the expiresOn value.
    • getIceServers

      public List<CommunicationIceServer> getIceServers()
      Get the iceServers property: An array representing the credentials and the STUN/TURN server URLs for use in ICE negotiations.
      Returns:
      the iceServers value.