TsgcTURNServerPropriétés › TURNOptions

TURNOptions Property

Options spécifiques au TURN : durée de vie d'allocation par défaut, plage de ports, IP de relais et identifiants à long terme.

Syntaxe

property TURNOptions: TsgcTURNServer_Options read FTURNOptions write SetTURNOptions;

Valeur par défaut

Remarques

Regroupe les options qui régissent la façon dont le serveur TURN alloue les points de terminaison de relai et authentifie ses clients :

Exemple

oTURN.TURNOptions.Allocation.DefaultLifeTime := 600;
oTURN.TURNOptions.Allocation.MaxLifeTime := 3600;
oTURN.TURNOptions.Allocation.MinPort := 49152;
oTURN.TURNOptions.Allocation.MaxPort := 65535;
oTURN.TURNOptions.Authentication.Enabled := True;
oTURN.TURNOptions.Authentication.LongTermCredentials.Enabled := True;
oTURN.TURNOptions.Authentication.LongTermCredentials.Realm := 'esegece.com';
oTURN.Active := True;

Retour aux propriétés