Table of Contents

Class TurnServer

Namespace
VAST.ICE
Assembly
VAST.ICE.dll

Implements a TURN (Traversal Using Relays around NAT) server that manages client allocations, relay ports, peer permissions, and data relaying between clients and their peers.

public class TurnServer : IDisposable
Inheritance
TurnServer
Implements
Inherited Members

Constructors

TurnServer()

Initializes a new instance of the TurnServer class with default parameters.

public TurnServer()

TurnServer(TurnServerParameters)

Initializes a new instance of the TurnServer class with the specified parameters.

public TurnServer(TurnServerParameters parameters)

Parameters

parameters TurnServerParameters

The server configuration parameters, or null to use defaults.

Exceptions

UnauthorizedAccessException

Thrown when the license check fails.

ArgumentException

Thrown when both IPv4 and IPv6 public addresses are unset.

Methods

Dispose()

Stops the TURN server and releases all resources.

public void Dispose()

Start()

Starts TURN server

public void Start()

Stop()

Stops TURN server

public void Stop()