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到文件中:
#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);
}
...
标签:stream,third,0.5,Libjingle,Build,base,party,include,talk
From: https://blog.51cto.com/u_16125990/6369226