TsgcSTUNServerProperties › STUNOptions

STUNOptions 属性

服务器端 STUN 选项:FINGERPRINT、SOFTWARE、认证以及添加到绑定响应中的属性。

语法

property STUNOptions: TsgcSTUNServer_Options read FSTUNOptions write SetSTUNOptions;

默认值

备注

控制服务器的 STUN 协议行为:

示例

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;

返回属性