TURN Server
TsgcTURNServer component for hosting a TURN relay server to enable P2P communication through NATs and firewalls.
TsgcTURNServer component for hosting a TURN relay server to enable P2P communication through NATs and firewalls.
uses
sgcTURN_Server;
var
Server: TsgcTURNServer;
begin
Server := TsgcTURNServer.Create(nil);
Server.Port := 3478;
Server.Realm := 'example.com';
Server.OnAuthenticate := HandleAuth;
Server.Start;
end;
Deep-link to the component reference, grab the ready-to-run demo project, and download the trial.