Protocolo TURN
Suporte ao TURN (Traversal Using Relays around NAT) no sgcWebSockets. Faça o relay do tráfego quando conexões P2P diretas não forem possíveis.
Suporte ao TURN (Traversal Using Relays around NAT) no sgcWebSockets. Faça o relay do tráfego quando conexões P2P diretas não forem possíveis.
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;