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
  sgcP2P, sgcP2P_ICE_Classes;

var
  ICE: TsgcICEClient;
begin
  ICE := TsgcICEClient.Create(nil);
  ICE.ICEServers.AddURL('stun:stun.l.google.com:19302');
  ICE.ICEServers.AddURL('turn:turn.example.com:3478', 'user', 'pass');
  ICE.OnICECandidate := HandleCandidate;
  ICE.GatherCandidates;
end;
Best value: All-AccessEvery eSeGeCe product, Premium Support included, from €1,059/year.
See All-Access pricing

Ready to Use ICE?

Download the free trial and start building in minutes.