Start with PJSIP on windows

 To overcome the project of HD video conferencing systerm,I should learn to use the PJSIP.

I should make a client with the pjsip in the end.Now a week passed by,here is the summary of how to start with pjsip for you own project on windows.

About PJSIP:

Here is the introduce of the pjsip in detail,all you want is here.

http://www.pjsip.org/

For its open source,learn all you need from here.

Now let‘s start our work!

Step 1:Choose develop software version

Recommended use VS2008.

And you can also choose VS2005 or VS2010,but not VS2010.

Step 2:Build the project

http://trac.pjsip.org/repos/wiki/Getting-Started/Windows

Step 3:Add the library to you own project

1 Add include files

project-properties-c/c++-general-Additional Include directories

eg:E:\PJSIP\test\pjproject-2.2.1\pjproject-2.2.1\pjsip\include\pjsip       

E:\PJSIP\test\pjproject-2.2.1\pjproject-2.2.1\pjsip\include

E:\PJSIP\test\pjproject-2.2.1\pjproject-2.2.1\pjsip\include\pjsip-simple

2 Add lib files

project-properties-linker-general-Additional Lib directories

eg:E:\PJSIP\test\pjproject-2.2.1\pjproject-2.2.1\pjsip\lib

3 Add lib name

project-properties-linker-input-Additional Dependencies

eg:pjlib-i386-Win32-vc8-Debug.lib

 

Now you can build you own project with pjsip libs;

Here some examples and tests:

http://www.pjsip.org/docs/latest/pjlib/docs/html/pages.htm

simple example:

Start with PJSIP on windows
 1 #include<pj/log.h>
 2 int main()
 3 {
 4     pj_status_t rc;
 5     rc=pj_init();
 6     PJ_LOG(3,("main.c","Hello world!"));
 7     getchar();
 8     return 0;
 9 
10 }
Start with PJSIP on windows

related resource:

pjlib:http://www.pjsip.org/docs/latest/pjlib/docs/html/index.htm

wiki:http://trac.pjsip.org/repos/wiki

preferences: http://trac.pjsip.org/repos/prefs

pjsip:http://www.pjsip.org/docs/latest/pjsip/docs/html/index.htm

Start with PJSIP on windows,布布扣,bubuko.com

Start with PJSIP on windows

上一篇:Python中利用函数装饰器实现备忘功能


下一篇:HTC 宣布为开发者开放他们的 BlinkFeed 服务 API