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 Summary
Constructors Constructor Description CommunicationRelayConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OffsetDateTime
getExpiresOn()
Get the expiresOn property: The date for which the username and credentials are not longer valid.List<CommunicationIceServer>
getIceServers()
Get the iceServers property: An array representing the credentials and the STUN/TURN server URLs for use in ICE negotiations.
-
-
-
Method Detail
-
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.
-
-