Table of Contents

Class TurnClientParameters

Namespace
VAST.ICE
Assembly
VAST.ICE.dll

Holds configuration parameters for a TurnClient instance, including server connection details, authentication credentials, and relay allocation options.

public class TurnClientParameters
Inheritance
TurnClientParameters
Inherited Members

Constructors

TurnClientParameters()

public TurnClientParameters()

Fields

PublicAddress

Gets or sets the public IP address of the local client.

public IPAddress PublicAddress

Field Value

IPAddress

Properties

Password

Gets or sets the TURN authentication password.

public string Password { get; set; }

Property Value

string

RequestIPv4Relay

Gets or sets a value indicating whether to request an IPv4 relay address from the server.

public bool RequestIPv4Relay { get; set; }

Property Value

bool

RequestIPv6Relay

Gets or sets a value indicating whether to request an IPv6 relay address from the server.

public bool RequestIPv6Relay { get; set; }

Property Value

bool

ReservationToken

Gets or sets the reservation token for claiming a previously reserved port on the server, or null if no reservation token is being used.

public long? ReservationToken { get; set; }

Property Value

long?

ReserveEvenPort

Gets or sets a value indicating whether to request an even-numbered port on the server for RTP usage.

public bool ReserveEvenPort { get; set; }

Property Value

bool

ReserveNextPort

Gets or sets a value indicating whether to reserve the next consecutive port on the server for RTCP usage.

public bool ReserveNextPort { get; set; }

Property Value

bool

ServerEndPoint

Gets or sets the TURN server endpoint including address, port, and protocol.

public IPProtoEndPoint ServerEndPoint { get; set; }

Property Value

IPProtoEndPoint

Transport

Gets or sets the socket transport used for network communication. If null, a new transport will be created automatically.

public INetworkTransport Transport { get; set; }

Property Value

INetworkTransport

UseChannelMethod

Gets or sets a value indicating whether to use the TURN ChannelData method for data relay. If true, the more compact ChannelData method is used; if false, the Send indication method is used.

public bool UseChannelMethod { get; set; }

Property Value

bool

Username

Gets or sets the TURN authentication username.

public string Username { get; set; }

Property Value

string