TURN Protocol
TURN (Traversal Using Relays around NAT) support in sgcWebSockets. Relay traffic when direct P2P connections are not possible.
TURN (Traversal Using Relays around NAT) support in sgcWebSockets. Relay traffic when direct P2P connections are not possible.
uses
sgcTURN_Client;
var
TURN: TsgcTURNClient;
begin
TURN := TsgcTURNClient.Create(nil);
TURN.Host := 'turn.example.com';
TURN.Port := 3478;
TURN.Credentials.Username := 'user';
TURN.Credentials.Password := 'pass';
TURN.Allocate;
end;