Class TurnServerParameters
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
CertificateThumbprint
Gets or sets TLS certificate thumbprint to be used in TLS and DTLS connections.
public string CertificateThumbprint { get; set; }
Property Value
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
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
TcpServerIPv4EndPoint
Gets or sets local IPv4 address and port to listen to TCP connections on
public IPEndPoint TcpServerIPv4EndPoint { get; set; }
Property Value
TcpServerIPv6EndPoint
Gets or sets local IPv6 address and port to listen to TCP connections on
public IPEndPoint TcpServerIPv6EndPoint { get; set; }
Property Value
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
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
UdpServerIPv4EndPoint
Gets or sets local IPv4 address and port to listen to UDP connections on
public IPEndPoint UdpServerIPv4EndPoint { get; set; }
Property Value
UdpServerIPv6EndPoint
Gets or sets local IPv6 address and port to listen to UDP connections on
public IPEndPoint UdpServerIPv6EndPoint { get; set; }
Property Value
UserCredentials
Gets or sets allowed user credentials
public Dictionary<string, string> UserCredentials { get; set; }