WARNING: The online documentation has moved to https://docs.pjsip.org.
Visit the new documentation at https://docs.pjsip.org:
Home --> Documentations --> PJNATH Reference
#include <upnp.h>
This structre describes the parameter to initialize UPnP.
The pool factory where memory will be allocated from.
The interface name to use for all UPnP operations.
If NULL, the library will use the first suitable interface found.
The port number to use for all UPnP operations.
If 0, the library will pick an arbitrary free port.
The time duration to search for IGD devices (in seconds).
If 0, the library will use PJ_UPNP_DEFAULT_SEARCH_TIME.
The callback to notify application when the initialization has completed.