TsgcTURNServer › Properties › IPVersion
Address family used by the listening socket; defaults to IPv4.
property IPVersion: TIdIPVersion read GetIPVersion write SetIPVersion;
—
Set IPVersion to Id_IPv4 or Id_IPv6 to select the address family of the default binding created from Host/Port. Peer addresses carried inside XOR-PEER-ADDRESS / XOR-RELAYED-ADDRESS attributes are encoded in the family that matches the allocation's relay socket, so IPv4-only and IPv6-only deployments just need a single value here. To accept clients on both families at the same time, leave the default binding on one family and add a second endpoint with AddBinding.
oTURN.IPVersion := Id_IPv4;
oTURN.Port := 3478;
oTURN.Active := True;