TsgcTURNServerProprietà › TURNOptions

TURNOptions Proprietà

Opzioni specifiche per TURN: durata predefinita dell'allocazione, intervallo di porte, IP di inoltro e credenziali a lungo termine.

Sintassi

property TURNOptions: TsgcTURNServer_Options read FTURNOptions write SetTURNOptions;

Valore predefinito

Note

Raggruppa le opzioni che governano il modo in cui il server TURN alloca gli endpoint relay e autentica i propri client:

Esempio

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;

Torna alle Proprietà