2009年4月25日 星期六

PJSUA - PJProject

To enable TLS supported.

Requirement:
OpenSSL library
DirectX SDK(maybe optional, but need to be configured)

To find pjproject-1.0.1\pjlib\include\pj\config.h
Add following code in it.
/**
* Support TLS in the library.
*/
#ifndef PJSIP_HAS_TLS_TRANSPORT
# define PJSIP_HAS_TLS_TRANSPORT 1
#endif

Visual Studio 2005 Configuration:
At pjsip_core project, check include path:
/IC:\lib\openssl\include

At pjsua project, it would require "libeay32MT.lib", "ssleay32MT.lib", check library path:
/LIBPATH:"C:\openssl-0.9.8i\lib"

沒有留言: