wiki:Migration From 0.5 Version To 0.6 Version

Version 2 (modified by bennylp, 12 years ago) (diff)

--

Migration From 0.5 Version To 0.6 Version

What's New and/or Changed

New pjnath Library

There is a new pjnath library for NAT traversal helper, containing ICE and new STUN implementation. This library is platform independent, and it depends only on pjlib and pjlib-util.

If the application is based on pjsua-lib, then you will have to add pjnath library to your link process.

Win32 IP Helper

PJLIB now has ip_helper.h file to enumerate local interface and local routing (needed by ICE).

Migrating Your Application

All Applications

If your application is based on PJSUA-LIB, you need to add PJNATH in your input library,

All Windows and WinCE Applications

What need to change:

  • On Windows and WinCE, the new IP helper abstraction requires application to link with IPHLPAPI.LIB. Note that IPHLPAPI.LIB is not shipped with Visual Studio 6 so you need to download Platform SDK to get this library. See the section about Visual Studio 6 below.

Visual Studio 6

If you're using Visual Studio 6, you need to:

  • download Platform SDK from MSDN, and
  • add relevant include and library directory to VS6 options, after the standard Visual Studio 6 include and library path.

This is required because Iphlpapi.[h|lib] is not shipped with Visual Studio 6.