TsgcSTUNServer › Özellikler › STUNOptions
Sunucu tarafı STUN seçenekleri: FINGERPRINT, SOFTWARE, Authentication ve Binding Response'lara eklenen öznitelikler.
property STUNOptions: TsgcSTUNServer_Options read FSTUNOptions write SetSTUNOptions;
—
Sunucunun STUN protokol davranışını kontrol eder:
LongTermCredentials'ı etkinleştirin ve Realm ve StaleNonce değerlerini ayarlayın; her kullanıcı için gerçek parola OnSTUNRequestAuthorization olayından sağlanır.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;