TsgcTURNServerPropriedades › TURNOptions

TURNOptions Property

Opções específicas do TURN: lifetime padrão da Allocation, intervalo de portas, IP de Relay e long-term credentials.

Sintaxe

property TURNOptions: TsgcTURNServer_Options read FTURNOptions write SetTURNOptions;

Valor Padrão

Observações

Agrupa as opções que governam como o servidor TURN aloca endpoints de retransmissão e autentica seus clientes:

Exemplo

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;

Voltar para Propriedades