TsgcTURNServerProperties › TURNOptions

TURNOptions Eigenschap

TURN-specifieke opties: standaard levensduur van allocatie, poortbereik, relay-IP en langetermijnreferenties.

Syntaxis

property TURNOptions: TsgcTURNServer_Options read FTURNOptions write SetTURNOptions;

Standaardwaarde

Opmerkingen

Groepeert de opties die bepalen hoe de TURN-server relaiseindpunten toewijst en zijn clients authenticeert:

Voorbeeld

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;

Terug naar eigenschappen