centos编译telepresence测试效果


1.下载代码
svn checkout http://telepresence.googlecode.com/svn/trunk/ telepresence-read-only

2.安装系统环境
  sudo yum update
  sudo yum install make libtool autoconf subversion git wget cmake gcc gcc-c++ pkgconfig
  
3.编译三方库
  a:libsrtp
   git clone https://github.com/cisco/libsrtp
   cd libsrtp
   CFLAGS="-fPIC" ./configure --enable-pic && make && make install
   
 b:libspeex
   sudo yum install speex-devel
   
 c:YASM
wget http://www.tortall.net/projects/yasm/releases/yasm-1.2.0.tar.gz
tar -xvzf yasm-1.2.0.tar.gz
cd yasm-1.2.0
./configure && make && make install
 
 d:libvpx
  sudo yum install libvpx-devel
 
 e:libopus
  wget http://downloads.xiph.org/releases/opus/opus-1.0.2.tar.gz
tar -xvzf opus-1.0.2.tar.gz
cd opus-1.0.2
./configure --with-pic --enable-float-approx && make && make install

f:libgsm
sudo yum install gsm-devel

g:G729
svn co http://g729.googlecode.com/svn/trunk/ g729b
cd g729b
./autogen.sh && ./configure --enable-static --disable-shared && make && make install

h:x264
wget ftp://ftp.videolan.org/pub/x264/snapshots/last_x264.tar.bz2
tar -xvjf last_x264.tar.bz2
cd x264-snapshot-20121201-2245
./configure --enable-shared --enable-pic && make && make install

  i:libfreetype
  sudo yum install freetype-devel
 
  j:FFmpeg
 git clone git://source.ffmpeg.org/ffmpeg.git ffmpeg
cd ffmpeg
git checkout n1.2
./configure --extra-cflags="-fPIC" --extra-ldflags="-lpthread" --enable-pic --enable-memalign-hack --enable-pthreads --enable-shared --disable-static --disable-network --enable-pthreads --disable-ffmpeg --disable-ffplay --disable-ffserver --disable-ffprobe --enable-gpl --disable-debug --enable-libfreetype  --enable-libx264
make && make install

k:doubango
svn checkout http://doubango.googlecode.com/svn/branches/2.0/doubango doubango
cd doubango && ./autogen.sh && ./configure --with-speexdsp --with-ffmpeg
make && make install

4.编译
  svn checkout https://telepresence.googlecode.com/svn/trunk/ telepresence
cd telepresence 
./autogen.sh && ./configure
make && make install
make samples

5.执行
修改配置文件telepresence.cfg 注释掉:
# pin-code=1234

用MicroSIP两个客户端进行测试 效果如下:

     


  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 3
    评论
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值