六狼论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博账号登陆

只需一步,快速开始

搜索
查看: 96|回复: 0

Build for Libjingle 0.5.2 + Mediastreamer2

[复制链接]

升级  35.67%

93

主题

93

主题

93

主题

举人

Rank: 3Rank: 3

积分
307
 楼主| 发表于 2013-1-19 04:07:38 | 显示全部楼层 |阅读模式
Mediastreamer support in 0.5.0
http://code.google.com/p/libjingle/issues/detail?id=102

补充上面的patch:
libjingle
  includedirs
    "third_party/mediastreamer2/include",
    "third_party/ortp/include",
call
  libs
    ortp
  libdirs
    "third_party/mediastreamer2/lib",
    "third_party/ortp/lib",

comment out:
#include <libgen.h>   

在call_main.cc中加入下面的代码以便能够打印log到文件中:
#include "talk/base/fileutils.h"...  talk_base::scoped_ptr<talk_base::StreamInterface> output_stream;  output_stream.reset(talk_base::Filesystem::OpenFile(    talk_base::Pathname("./call.log"), "wb"));  if (debug) {    talk_base::LogMessage::LogToDebug(talk_base::LS_VERBOSE);    talk_base::LogMessage::AddLogToStream(output_stream.get(),          talk_base::LS_VERBOSE);  }...
您需要登录后才可以回帖 登录 | 立即注册 新浪微博账号登陆

本版积分规则

快速回复 返回顶部 返回列表