TsgcSTUNServer › プロパティ › STUNOptions
サーバー側 STUN オプション: FINGERPRINT、SOFTWARE、認証、および Binding Response に追加される属性。
property STUNOptions: TsgcSTUNServer_Options read FSTUNOptions write SetSTUNOptions;
—
サーバーの STUN プロトコルの動作を制御します:
LongTermCredentials を有効にし、その Realm と StaleNonce を設定して長期資格情報メカニズム(RFC 5389 セクション10.2)をアクティブ化します。各ユーザーの実際のパスワードは 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;