Mediastreamer support in 0.5.0
[url]http://code.google.com/p/libjingle/issues/detail?id=102[/url]
补充上面的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到文件中:
[url]http://code.google.com/p/libjingle/issues/detail?id=102[/url]
补充上面的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);
}
...
本文介绍了如何在0.5.0版本中集成Mediastreamer2,并提供了一段用于配置libjingle的补丁。此外还展示了如何在call_main.cc中添加代码以将调试日志输出到文件。

被折叠的 条评论
为什么被折叠?



