Le 26/04/12 03:52, Hannes a �crit :
thanks for the reply!
I believe you need to recompile the portaudio and the ffmpeg library
(see src/native/portaudio/README and src/native/ffmpeg/README)
I am mostly a C++/C Hacker, and not really familiar with java. Can you
point me to some ressources that explain, how C/C++ stuff is picked up
by Java programs?
e.g. does Java find the system libraries, or is a native version of
ffmpeg always shipped in the jar? The latter implies, that you build it
for all target platforms, is that right?
If I port it, can I make it pick up system libraries, or is that
generally not possible or not recommended?
[Sorry if these questions sound naive]
Jitsi have its native library located in lib/native/<platform> where platform is windows, windows-64, linux, linux-64, mac, freebsd, freebsd-64...
When we run Jitsi (either by ant script or executable), we set some environment variable (PATH on Windows, LD_LIBRARY_PATH on Unix, DYLD_LIBRARY_PATH on Mac OS X) and Java find the required library with that.
I have briefly checked the freebsd patch for ffmpeg. It includes some
redundant things, some of the math-stuff is now available in stock
FreeBSD. I will definitely look at the patches later today, and see that
stuff compiles with given instructions.
OK with the math-stuff but when we were making the build, we use FreeBSD 8.x and it was still missing. We have to ensure that binary build with recent FreeBSD (with built-in math-stuff) will work on previous release.
remove it some time ago because of many changes in portaudio and ffmpeg
work and due to other high priority tasks we don't manage to rebuild
them for FreeBSD. It is on my TODO list though.
You removed portaudio and ffmpeg in general, or just the FreeBSD build?
If I get the patches up2date and confirm that it works, would you
include FreeBSD for the default builds again?
We removed them just for FreeBSD. It is planned to get back FreeBSD binaries, it is just a question of time.
On 25.04.2012 18:09, Sebastien Vincent wrote:
Le 25/04/12 13:35, Hannes a �crit :
I am trying to make jitsi work on FreeBSD. The binary/bytecode installer
works fine, everything gets installed, also menu icons and such. The
program starts fine (looks a little akward, no anti-aliased fonts etc),
but no major errors.
Now the central issue is, that it does not detect the sound system.
Which is weird, because FreeBSD implements OSS interface, and everything
else in the world successfully detects sound on my system (as OSS). I
browsed your source and saw that you use portaudio, I read up that they
didn't have OSS support early on, but then added it.
Maybe you are using an old version of port audio?
Does jitsi work with OSS on Linux?
Thanks for your help, I would really like to make it work. Might create
a proper port, once I get it running!