TsgcTURNServerÖzellikler › TURNOptions

TURNOptions Özellik

TURN'e özgü seçenekler: varsayılan Allocation ömrü, port aralığı, Relay IP ve uzun süreli kimlik bilgileri.

Sözdizimi

property TURNOptions: TsgcTURNServer_Options read FTURNOptions write SetTURNOptions;

Varsayılan Değer

Remarks

TURN sunucusunun relay uç noktalarını nasıl tahsis ettiğini ve istemcilerinin kimliğini nasıl doğruladığını yöneten seçenekleri gruplar:

Örnek

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;

Özelliklere Dön