Ubuntu 10.04 Server下编译libjingle-0.6.14
来源:互联网 发布:网络攻防技术pdf 编辑:程序博客网 时间:2024/05/01 07:07
- 环境
Ubuntu 10.04 Server
- 包
libjingle-0.6.14.zip
openssl-1.0.0e.tar.gz
scons-2.2.0.zip
scons-local-2.1.0.zip
scons-local-2.2.0.zip
srtp-cvs.zip
swtoolkit.0.9.1.zip
- 编译
若要编译pcp的sample,可以在libjingle-0.6.14/talk/libjingle.scons文件中添加如下语句:
talk.App(env, name = "pcp", libs = [ "jingle", "expat", "xmpphelp", ], posix_libs = [ "crypto", "ssl", ], srcs = [ "examples/pcp/pcp_main.cc", ],)
- 测试samples
2. 测试call的命令
call.exe -d --videoinput=..\..\..\session\phone\testdata\video.rtpdump --voiceinput=..\..\..\session\phone\testdata\voice.rtpdump --videooutput=vout.rtpdump --voiceoutput=aout.rtpdump3. 测试pcp的命令
pcp elastos.chen.yufei@gmail.com # 服务端,运行起来之后会生成一个full jid:elastos.chen.yufei@gmail.com/pcp72DCD3ABstaging\pcp.exe chen.yufei.2011@gmail.com testfile.txt elastos.chen.yufei@gmail.com/pcp45BE7732:testfile # 发送文件staging\pcp.exe chen.yufei.2011@gmail.com elastos.chen.yufei@gmail.com/pcp45BE7732:testfile testfile.txt # 接收文件
4. relayserver是一个中转服务器,可以使用如下命令运行
./relayserver 127.0.0.1:5555 127.0.0.1:5556
5. stunserver貌似也是一个中转服务器,运行的命令如下
./stunserver 127.0.0.1:555
- 问题
编译时,遇到类似“Error loading site_init file”的错误,可以参考这里,修改编译文件site_init.py:
Line 330:SCons.Script.Main._load_site_scons_dir( str(SCons.Node.FS.get_default_fs().SConstruct_dir), site_dir)Line 450:SCons.Script.Main._load_site_scons_dir( str(SCons.Node.FS.get_default_fs().SConstruct_dir), None)
- Ubuntu 10.04 Server下编译libjingle-0.6.14
- Ubuntu 下编译libjingle-0.6.14
- Ubuntu 下编译libjingle-0.6.14
- Ubuntu 10.04 Server下編譯libjingle-0.6.14
- Ubuntu下编译Libjingle
- LibJingle for Ubuntu 编译
- libjingle 在ubuntu 16.04编译
- vs2010 下编译 libjingle 库
- window下libjingle的编译方法
- libjingle ubuntu 16.04 下编程错误
- 编译libjingle
- 编译libjingle
- libjingle在windows和ubuntu-linux上编译方法
- ubuntu server 9.04下编译安装nginx
- linux下编译libjingle源码(android移植)
- libjingle在Linux下不能编译的解决方法
- linux下编译libjingle源码——android移植
- Ubuntu 10.04下编译
- 每个程序员都应该知道的8个Linux命令
- 对于2 000 000 000 以内判断是否是素数 筛选法+暴力
- ASP.NET存储过程分页
- iBatis解决sql注入问题的方法
- spring定时器
- Ubuntu 10.04 Server下编译libjingle-0.6.14
- poj 3522 Slim Span(枚举+最小生成树)
- QT发布程序中文乱码完全解决方案 Qt for Windows
- Apache Shiro 架构
- c#查询部署机器的Office应用程序的版本
- undefined reference to `clock_gettime' 链接错误问题解决
- 一个基于HTML与JavaScript的Wizard演示
- python http
- c基础学习 - 指针