WARNING: The online documentation has moved to https://docs.pjsip.org.

Visit the new documentation at https://docs.pjsip.org:

BLOG | DOCUMENTATION | GITHUB

Home --> Documentations --> PJLIB-UTIL Reference

pjstun_setting Struct Reference

Data Fields

pj_bool_t use_stun2
 
int af
 
pj_str_t srv1
 
int port1
 
pj_str_t srv2
 
int port2
 

Field Documentation

◆ af

int pjstun_setting::af

Address family of the STUN servers.

◆ port1

int pjstun_setting::port1

The port number of the first STUN server.

◆ port2

int pjstun_setting::port2

The port number of the second STUN server.

◆ srv1

pj_str_t pjstun_setting::srv1

Host name or IP address string of the first STUN server.

◆ srv2

pj_str_t pjstun_setting::srv2

Host name or IP address string of the second STUN server.

◆ use_stun2

pj_bool_t pjstun_setting::use_stun2

Specifies whether STUN request generated by old STUN library should insert magic cookie (specified in RFC 5389) in the transaction ID.


The documentation for this struct was generated from the following file:

 


PJLIB-UTIL Open Source, small footprint, and portable asynchronous/caching DNS resolver, text scanner, STUN client, and XML library
Copyright (C) 2006-2009 Teluu Inc.