ICE Framework
ICE (Interactive Connectivity Establishment) support in sgcWebSockets. Find the optimal path for peer-to-peer communication.
ICE (Interactive Connectivity Establishment) support in sgcWebSockets. Find the optimal path for peer-to-peer communication.
uses
sgcICE_Client;
var
ICE: TsgcICEClient;
begin
ICE := TsgcICEClient.Create(nil);
ICE.STUNServer := 'stun.l.google.com:19302';
ICE.TURNServer := 'turn.example.com:3478';
ICE.OnCandidateGathered := HandleCandidate;
ICE.GatherCandidates;
end;