Hello,
I am trying to implement jingle-audio in Gajim, a jabber client written
in Python. I tried to create simple python bindings for Farsight, that
would cover at least functions which I will need in Gajim. Compilation
gives me a 'farsight.so' file, which contains proper API for python. To
test it I use a small one-liner:
ipython -c 'import gst,farsight;
f=farsight.farsight_session_factory_make("rtp")'
that should just call the farsight_session_factory_make function from
libfarsight-0.1.so. The problem is that this call fails, printing:
farsight-Message: looking for plugins in /usr/local/lib/farsight-0.1-2
opening module /usr/local/lib/farsight-0.1-2/librtp-session.so:
/usr/local/lib/farsight-0.1-2/librtp-session.so: undefined symbol:
farsight_stream_get_media_type
Session not supported
It looks like librtp-session.so cannot link to libfarsight-0.1.so
somehow. I wrote a simple program in C to check this call:
#include <farsight/farsight.h>
#include <gst/gst.h>
int main(void) {
gst_init(NULL, NULL);
farsight_session_factory_make("rtp");
return 0;
}
and it gives:
farsight-Message: looking for plugins in /usr/local/lib/farsight-0.1-2
opening module /usr/local/lib/farsight-0.1-2/librtp-session.so:
succeeded
Also test programs from farsight tarball work correctly. Does anybody
have a clue what am I missing? Thank you.
I am using farsight-0.1.21.tar.gz, gst-plugins-farsight-0.12.2.tar.gz
and the newest gstreamer from ubuntu feisty. My bindings (in a
barely-working state) are at
http://trac.gajim.org/browser/branches/jingle/src/common/farsight
Tomasz Melcer
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Farsight-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/farsight-devel