Table of Contents

Class TurnServerParameters

Namespace
VAST.ICE
Assembly
VAST.ICE.dll

Holds configuration parameters for a TurnServer instance, including network endpoints, TLS settings, and user credentials.

public class TurnServerParameters
Inheritance
TurnServerParameters
Inherited Members

Constructors

TurnServerParameters()

public TurnServerParameters()

Properties

AllowDtls

Gets or sets whether to accept DTLS protocol on UDP end point. Same end point can be used to serve UDP and DTLS clients. If set to true then CertificateThumbprint must be provided.

public bool AllowDtls { get; set; }

Property Value

bool

CertificateThumbprint

Gets or sets TLS certificate thumbprint to be used in TLS and DTLS connections.

public string CertificateThumbprint { get; set; }

Property Value

string

PublicIPv4Address

Gets or sets server public IPv4 address. Must be set if at least one IPv4 server end point is specified.

public IPAddress PublicIPv4Address { get; set; }

Property Value

IPAddress

PublicIPv6Address

Gets or sets server public IPv6 address. Must be set if at least one IPv6 server end point is specified.

public IPAddress PublicIPv6Address { get; set; }

Property Value

IPAddress

TcpServerIPv4EndPoint

Gets or sets local IPv4 address and port to listen to TCP connections on

public IPEndPoint TcpServerIPv4EndPoint { get; set; }

Property Value

IPEndPoint

TcpServerIPv6EndPoint

Gets or sets local IPv6 address and port to listen to TCP connections on

public IPEndPoint TcpServerIPv6EndPoint { get; set; }

Property Value

IPEndPoint

TlsServerIPv4EndPoint

Gets or sets local IPv4 address and port to listen to TLS connections on. CertificateThumbprint must be provided if TlsServerEndPoint is not null.

public IPEndPoint TlsServerIPv4EndPoint { get; set; }

Property Value

IPEndPoint

TlsServerIPv6EndPoint

Gets or sets local IPv6 address and port to listen to TLS connections on. CertificateThumbprint must be provided if TlsServerEndPoint is not null.

public IPEndPoint TlsServerIPv6EndPoint { get; set; }

Property Value

IPEndPoint

UdpServerIPv4EndPoint

Gets or sets local IPv4 address and port to listen to UDP connections on

public IPEndPoint UdpServerIPv4EndPoint { get; set; }

Property Value

IPEndPoint

UdpServerIPv6EndPoint

Gets or sets local IPv6 address and port to listen to UDP connections on

public IPEndPoint UdpServerIPv6EndPoint { get; set; }

Property Value

IPEndPoint

UserCredentials

Gets or sets allowed user credentials

public Dictionary<string, string> UserCredentials { get; set; }

Property Value

Dictionary<string, string>