TsgcSTUNClient › Properties › STUNOptions
Opções específicas de STUN: atributo FINGERPRINT, atributo SOFTWARE e credenciais de Autenticação.
property STUNOptions: TsgcSTUNClient_Options read FSTUNOptions write SetSTUNOptions;
—
Controla o comportamento do protocolo STUN do cliente:
stcNone, stcShortTermCredentials ou stcLongTermCredentials) e o Username/Password utilizados para assinar as requisições.oSTUN.STUNOptions.Fingerprint := True;
oSTUN.STUNOptions.Software := True;
oSTUN.STUNOptions.Authentication.Credentials := stcLongTermCredentials;
oSTUN.STUNOptions.Authentication.Username := 'user';
oSTUN.STUNOptions.Authentication.Password := 'secret';
oSTUN.SendRequest;