TsgcSTUNClient › 属性 › STUNOptions
STUN 特定选项:FINGERPRINT、SOFTWARE 属性和身份验证凭据。
property STUNOptions: TsgcSTUNClient_Options read FSTUNOptions write SetSTUNOptions;
—
控制客户端的 STUN 协议行为:
stcNone、stcShortTermCredentials 或 stcLongTermCredentials)以及用于签署请求的用户名/密码。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;