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.
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
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
NOTICE:Do not forget these libs like IPHlpApi.lib wsock32.lib ws2_32.lib ole32.lib dsound.lib winmm.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:
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 }
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
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· 单线程的Redis速度为什么快?
· SQL Server 2025 AI相关能力初探
· 展开说说关于C#中ORM框架的用法!
· AI编程工具终极对决:字节Trae VS Cursor,谁才是开发者新宠?