随笔分类 - PJSIP
摘要:为了熟悉pjmedia的相关函数以及使用方法,这里练习了官网上的一个录音器的例子。核心函数:pj_status_t pjmedia_wav_writer_port_create(pj_pool_t *pool,const char *filename,unsignedclock_rate,unsig...
阅读全文
摘要:pjmedia是pjsip的视频部分,官网明确提示,要想使用pjmedia离不开directshow/sdl/ffmpeg这三个库。软件版本的限制:ffmpeg不能高于1.25。(建议下载1.01左右的版本)pjsip下载版本要高于2.0.directshow/sdl/ffmpeg在pjmedia的...
阅读全文
摘要:应宝哥建议以及更好的交流学习,这篇开始使用中文,英语就先放一放吧!要使用PJSIP中的PJMEDIA首先我们需要搭建好它所需要的环境。【环境搭建与调试】1 在 工具 加入pjmedia所需要的包含文件以及库文件2 在 项目属性 中的加入包含文件以及库文件和具体使用到的库名3 编译过程中出现无法解析外部符号时,自习观察报错的提示,(如关键字可能为srtp,可以去工程文件下的third_party中去添加相关库或者包含文件)。【实例功能】播放一个wav格式的文件。实例出处:http://www.pjsip.org/docs/latest/pjmedia/docs/html/page_pjmedia
阅读全文
摘要:As we all know,most our projects are need to use the socket to programme.Use socket we can connect our device to others and our client to the Internet,so it's made our product more powerful.Now,let's begin the key part-pjlib socket.The date types and functions are too much,if you need some o
阅读全文
摘要:Here are some samples about PJLIB!PJLIB is the basic lib of PJSIP, so we need master the lib first!String:In our project, string is often used.But in a project based on PJSIP,we should learn to use pj_str_t instead of C string.Of course there have lots functions for you to convert the string type.Fi
阅读全文
摘要: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 p...
阅读全文