TsgcTURNClient › Properties › Host
IP address or DNS name of the TURN server to which the client sends Allocate and related requests.
property Host: string read GetHost write SetHost;
—
Set Host to the hostname or IP address of the TURN server (for example turn.sgcwebsockets.com). Combined with Port, Transport and IPVersion, it defines the endpoint used when Allocate and the other TURN methods send their requests. Most public TURN servers listen on UDP port 3478 and require long-term credentials configured on TURNOptions.
oTURN := TsgcTURNClient.Create(nil);
oTURN.Host := 'turn.sgcwebsockets.com';
oTURN.Port := 3478;
oTURN.Allocate;