#include <sip_transport_udp.h>
Settings to be specified when creating the UDP transport. Application should initialize this structure with its default values by calling pjsip_udp_transport_cfg_default().
◆ af
int pjsip_udp_transport_cfg::af |
◆ bind_addr
Address to bind the socket to.
◆ addr_name
Optional published address, which is the address to be advertised as the address of this SIP transport. By default the bound address will be used as the published address.
◆ async_cnt
unsigned pjsip_udp_transport_cfg::async_cnt |
Number of simultaneous asynchronous accept() operations to be supported. It is recommended that the number here corresponds to the number of processors in the system (or the number of SIP worker threads).
Default: 1
◆ qos_type
QoS traffic type to be set on this transport. When application wants to apply QoS tagging to the transport, it's preferable to set this field rather than qos_param fields since this is more portable.
Default is QoS not set.
◆ qos_params
Set the low level QoS parameters to the transport. This is a lower level operation than setting the qos_type field and may not be supported on all platforms.
Default is QoS not set.
◆ sockopt_params
Specify options to be set on the transport.
By default there is no options.
The documentation for this struct was generated from the following file: