#include <pjsua.h>
This structure is used to represent the result of the STUN server resolution and testing, the pjsua_resolve_stun_servers() function. This structure will be passed in pj_stun_resolve_cb callback.
Forward declaration for pj_stun_resolve_result
◆ token
void* pj_stun_resolve_result::token |
◆ status
This will contain PJ_SUCCESS if at least one usable STUN server is found, otherwise it will contain the last error code during the operation.
◆ name
The server name that yields successful result. This will only contain value if status is successful.
◆ addr
The server IP address. This will only contain value if status is successful.
◆ index
unsigned pj_stun_resolve_result::index |
The index of the usable STUN server.
The documentation for this struct was generated from the following file: