TsgcSTUNServer › Proprietà › STUNOptions
Opzioni STUN lato server: FINGERPRINT, SOFTWARE, Authentication e gli attributi aggiunti alle Binding Responses.
property STUNOptions: TsgcSTUNServer_Options read FSTUNOptions write SetSTUNOptions;
—
Controlla il comportamento del protocollo STUN del server:
LongTermCredentials e imposti il suo Realm e StaleNonce per attivare il meccanismo di credenziali a lungo termine (RFC 5389 sezione 10.2); la password effettiva per ogni utente viene fornita dall'evento OnSTUNRequestAuthorization.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;