TsgcTURNServer › Properties › STUNOptions
STUNOptions Property
STUN-level options inherited from TsgcSTUNServer: FINGERPRINT, SOFTWARE, Authentication and Binding-Response attributes.
Syntax
property STUNOptions: TsgcSTUNServer_Options read FSTUNOptions write SetSTUNOptions;
Default Value
—
Remarks
Inherited from TsgcSTUNServer; controls how the server handles plain STUN Binding Requests that may arrive on the same port together with TURN traffic:
- Fingerprint: when enabled, adds a FINGERPRINT attribute to responses so STUN can be multiplexed with other protocols on the same transport address.
- Software: when enabled, advertises the server implementation via the SOFTWARE attribute.
- Authentication: STUN-level authentication. For TURN deployments the credentials are usually configured in TURNOptions.Authentication instead; enable this block only when the server must authenticate plain Binding Requests as well.
- BindingAttributes: selects which optional attributes (OTHER-ADDRESS, RESPONSE-ORIGIN, SOURCE-ADDRESS) are added to successful Binding Responses.
Example
oTURN.STUNOptions.Fingerprint := True;
oTURN.STUNOptions.Software := True;
oTURN.STUNOptions.BindingAttributes.ResponseOrigin := True;
oTURN.Active := True;
Back to Properties