TsgcSTUNServer › Properties › STUNOptions
Server-side STUN options: FINGERPRINT, SOFTWARE, Authentication and the attributes added to Binding Responses.
property STUNOptions: TsgcSTUNServer_Options read FSTUNOptions write SetSTUNOptions;
—
Controls the STUN protocol behaviour of the server:
LongTermCredentials and set its Realm and StaleNonce to activate the long-term credential mechanism (RFC 5389 section 10.2); the actual password for each user is supplied from the OnSTUNRequestAuthorization event.oSTUN.STUNOptions.Fingerprint := True;
oSTUN.STUNOptions.Software := True;
oSTUN.STUNOptions.Authentication.Enabled := True;
oSTUN.STUNOptions.Authentication.LongTermCredentials.Enabled := True;
oSTUN.STUNOptions.Authentication.LongTermCredentials.Realm := 'sgc';
oSTUN.Active := True;