TsgcTURNClientProperties › STUNOptions

STUNOptions Property

Inherited STUN options: FINGERPRINT, SOFTWARE attribute and Authentication credentials.

Syntax

property STUNOptions: TsgcSTUNClient_Options read FSTUNOptions write SetSTUNOptions;

Default Value

Remarks

Inherited from TsgcSTUNClient. Controls STUN-level behaviour common to every TURN request (Allocate, Refresh, CreatePermission, ChannelBind):

Example

oTURN.STUNOptions.Fingerprint := True;
oTURN.STUNOptions.Software := True;
oTURN.STUNOptions.Authentication.Credentials := stcLongTermCredentials;
oTURN.STUNOptions.Authentication.Username := 'user';
oTURN.STUNOptions.Authentication.Password := 'secret';
oTURN.Allocate;

Back to Properties