Hi Clement,
Thank you a million, that did it. I'd played with everything I could
think of, without success. It's great to have this working! Thanks again. :)
I wish I knew anything of the video part of this, but I'm glad you got it
working on something. I'd also be interested in new codecs. I'm no coder,
but would be more than happy to test anything you come up with. BTW, I'm
thinking I ran across a post on this list about that while searching for a
solution to my problem. Best of luck!
Steve
On Thu, 10 Apr 2008, Clement Chen wrote:
Hi, Stephen,
Sorry for replying this mail late due to my loaded work recently..^^;;
Finally, I figured it out that patching msilbc-2.0.0/Makefile is the best
way
to solve this library linking problem. Here is an example:
0. I used "./configure --prefix=/usr/local" to compile "ilbc-rfc3951"
* Then I used "/usr/local/lib" and "/usr/local/include" for following
steps.
1. Add two variables "PLUGIN_CFLAGS" and "PLUGIN_LIBS" in
msilbc-2.0.0/Makefile :
----------Makefile BEGIN-----------
ifndef LINPHONE_BUILD
LINPHONE_BUILD="../../"
endif
PLUGINS_MAKEFILE=$(LINPHONE_BUILD)/mediastreamer2/plugins/plugins.mk
all:
$(MAKE) -f $(PLUGINS_MAKEFILE) LINPHONE_BUILD=$(LINPHONE_BUILD)\
PLUGIN_LIBS="-L/usr/local/lib -ldl -lm -lilbc" \
PLUGIN_CFLAGS="-I/usr/local/include" \
PLUGIN_NAME=msilbc \
PLUGIN_OBJS=ilbc.o
dist:
$(MAKE) -f $(PLUGINS_MAKEFILE) LINPHONE_BUILD=$(LINPHONE_BUILD) \
PLUGIN_LIBS="-L/usr/local/lib -ldl -lm -lilbc" \
PLUGIN_CFLAGS="-I/usr/local/include" \
PLUGIN_NAME=msilbc \
PLUGIN_SOURCES="ilbc.c Makefile README ilbc-rfc3951.tar.gz" dist
install:
$(MAKE) -f $(PLUGINS_MAKEFILE) \
PLUGIN_LIBS="-L/usr/local/lib -ldl -lm -lilbc" \
PLUGIN_CFLAGS="-I/usr/local/include" \
PLUGIN_NAME=msilbc \
LINPHONE_BUILD=$(LINPHONE_BUILD) install
clean:
$(MAKE) -f $(PLUGINS_MAKEFILE) \
PLUGIN_LIBS="-L/usr/local/lib -ldl -lm -lilbc" \
PLUGIN_CFLAGS="-I/usr/local/include" \
LINPHONE_BUILD=$(LINPHONE_BUILD) clean
----------Makefile END-----------
2. Compile msilbc-2.0.0 and install
3. Start linphonec with '-d 6', and iLBC codec is successfully loaded.
BTW, I'm not sure what is missing in CentOS 5.1 on which I couldn't compile
Linphone-2.1.1 Gtk interface. Fortunately, I could succeed compiling it on
FedoraCore 8.
I'm currently studying how to write a Linphone plugin for a new Codec, such
as G.729 or G.723. So I'd be very grateful if anyone who is experienced on
that could provide me some guides... ^^;;
Hope this helps!
Clement.
<snip>
_______________________________________________
Linphone-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/linphone-users