TsgcSTUNServer › Propriedades › STUNOptions
Opções STUN do lado do servidor: FINGERPRINT, SOFTWARE, Authentication e os atributos adicionados às Binding Responses.
property STUNOptions: TsgcSTUNServer_Options read FSTUNOptions write SetSTUNOptions;
—
Controla o comportamento do protocolo STUN do servidor:
LongTermCredentials e defina seu Realm e StaleNonce para ativar o mecanismo de credencial de longo prazo (RFC 5389 seção 10.2); a senha real de cada usuário é fornecida pelo 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;