最近有一个语言项目方面的调研,需要评估一下libjingle,所以研究了半个月的libjingle,现在把经验总结如下(如有不对,请不吝赐教): 1、libjingle库所带例子只支持rtpdump文件传递语音,不支持实时语音通话; 2、最新的几个版本的libjingle库去掉了GIPS voiceEngine的相关部分(可能是因为google收购了GIPS); 3、那么在windows下要支持实时语音通话,可以用linphone media engine,不过这个库是linux下的,所以迁移过来会费不少精力(不知有没有更好的方法): 要想在windows下用linphone media engine, 首先,按照README的说明添加如下代码:
Add the following lines into the libjingle.scons file.
In the "talk.Library(env, name = "libjingle",..." section, you need to add:
"HAVE_LINPHONE",
"HAVE_SPEEX",
"HAVE_ILBC",
to the "cppdefines = [".
add:
"session/phone/linphonemediaengine.cc",
to the "srcs = [ ..."
add:
"third_party/mediastreamer/include",
"third_party/ortp/include"
to the "includedirs = [ ..."
In the "talk.App(env, name = "call",..." section, you need to add:
"ortp"
"mediastreamer",
to the "libs = [".