Framework ICE
Prise en charge d'ICE (Interactive Connectivity Establishment) dans sgcWebSockets. Trouve le chemin optimal pour la communication pair à pair.
Prise en charge d'ICE (Interactive Connectivity Establishment) dans sgcWebSockets. Trouve le chemin optimal pour la communication pair à pair.
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;