TsgcSTUNServerProperties › STUNOptions

STUNOptions Property

Server-side STUN options: FINGERPRINT, SOFTWARE, Authentication and the attributes added to Binding Responses.

Syntax

property STUNOptions: TsgcSTUNServer_Options read FSTUNOptions write SetSTUNOptions;

Default Value

Remarks

Controls the STUN protocol behaviour of the server:

Example

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;

Back to Properties