TsgcTURNClientProperties › RetransmissionOptions

RetransmissionOptions Property

UDP retransmission settings (RTO and MaxRetries) used to resend TURN requests when no response arrives.

Syntax

property RetransmissionOptions: TsgcSTUNPRetransmissionClient_Options read FRetransmissionOptions write SetRetransmissionOptions;

Default Value

Remarks

UDP does not guarantee delivery, so TURN clients must retransmit ALLOCATE, REFRESH, CreatePermission and ChannelBind requests until a response arrives or a maximum number of retries is reached. This property only applies when Transport is stUDP; TCP and TLS rely on the transport for reliability.

Example

oTURN.Transport := stUDP;
oTURN.RetransmissionOptions.Enabled := True;
oTURN.RetransmissionOptions.RTO := 500;
oTURN.RetransmissionOptions.MaxRetries := 7;
oTURN.Allocate;

Back to Properties