Class CommunicationRelayConfiguration


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

      • CommunicationRelayConfiguration

        public CommunicationRelayConfiguration()
    • Method Detail

      • getExpiresOn

        public OffsetDateTime getExpiresOn()
        Get the expiresOn property: The date for which the username and credentials are not longer valid.
        Returns:
        the expiresOn value.
      • setExpiresOn

        public CommunicationRelayConfiguration setExpiresOn​(OffsetDateTime expiresOn)
        Set the expiresOn property: The date for which the username and credentials are not longer valid.
        Parameters:
        expiresOn - the expiresOn value to set.
        Returns:
        the CommunicationRelayConfiguration object itself.
      • 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.
      • setIceServers

        public CommunicationRelayConfiguration setIceServers​(List<CommunicationIceServer> iceServers)
        Set the iceServers property: An array representing the credentials and the STUN/TURN server URLs for use in ICE negotiations.
        Parameters:
        iceServers - the iceServers value to set.
        Returns:
        the CommunicationRelayConfiguration object itself.