TsgcSTUNServer › 속성 › STUNOptions
서버 측 STUN 옵션: FINGERPRINT, SOFTWARE, Authentication 및 Binding Responses에 추가된 속성.
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;