Build for Libjingle 0.5.2 + Mediastreamer2

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);
  }
...

你可能感兴趣的:(C++,c,Google,C#)