Condividi tramite


CommunicationRelayConfiguration Class

Definition

A relay configuration containing the STUN/TURN URLs and credentials.

[System.Text.Json.Serialization.JsonConverter(typeof(Azure.Communication.NetworkTraversal.CommunicationRelayConfiguration+CommunicationRelayConfigurationConverter))]
public class CommunicationRelayConfiguration
[<System.Text.Json.Serialization.JsonConverter(typeof(Azure.Communication.NetworkTraversal.CommunicationRelayConfiguration+CommunicationRelayConfigurationConverter))>]
type CommunicationRelayConfiguration = class
Public Class CommunicationRelayConfiguration
Inheritance
CommunicationRelayConfiguration
Attributes

Constructors

CommunicationRelayConfiguration(DateTimeOffset, IEnumerable<CommunicationIceServer>)

Initializes a new instance of CommunicationRelayConfiguration.

Properties

ExpiresOn

The date for which the username and credentials are not longer valid. Will be 48 hours from request time.

IceServers

An array representing the credentials and the STUN/TURN server URLs for use in ICE negotiations.

Applies to