ICE Framework

ICE (Interactive Connectivity Establishment) support in sgcWebSockets. Find the optimal path for peer-to-peer communication.

Capabilities

  • Automatic candidate gathering (host, server-reflexive, relay)
  • Connectivity checks to find the best path
  • RFC 8445 compliant implementation
  • Integrates with STUN and TURN components
  • Nomination and prioritization of candidates

Delphi Example

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;

Ready to Use ICE?

Download the free trial and start building in minutes.