TsgcTURNServerEigenschaften › TURNOptions

TURNOptions Eigenschaft

TURN-spezifische Optionen: Standard-Allocation-Lebensdauer, Portbereich, Relay-IP und Long-Term-Credentials.

Syntax

property TURNOptions: TsgcTURNServer_Options read FTURNOptions write SetTURNOptions;

Standardwert

Hinweise

Gruppiert die Optionen, die regeln, wie der TURN-Server Relay-Endpunkte zuweist und seine Clients authentifiziert:

Beispiel

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;

Zurück zu Eigenschaften