TURN transport settings for ICE stream transport.
Optional TURN Allocate parameter. The default value will be initialized by pj_turn_alloc_param_default().
Credential to be used for the TURN session. This setting is mandatory.
Default is to have no credential.
Optional TURN socket settings. The default values will be initialized by pj_turn_sock_cfg_default(). This contains settings such as QoS.
Type of connection to the TURN server.
Default is PJ_TURN_TP_UDP.
The port number of the TURN server, when server field specifies a hostname rather than domain name. This field should also be set even when the server specifies a domain name, to allow DNS SRV resolution to fallback to DNS A/AAAA resolution when the DNS SRV resolution fails.
Default is zero.
Specify the TURN server domain or hostname or IP address. If DNS SRV resolution is required, application must fill in this setting with the domain name of the TURN server and set the resolver instance in the resolver field. Otherwise if the resolver setting is not set, this field will be resolved with hostname resolution and in this case the port field must be set.
The port field should also be set even when DNS SRV resolution is used, in case the DNS SRV resolution fails.
When this field is empty, relay candidate will not be created.
The default value is empty.
The documentation for this struct was generated from the following file: