I am trying to understand the way you have implemented the current Screen
Sharing. As I figured out it is developed Operating System specifically.
I found the following files regarding this task:
,a header file (located in
2) An ant *build.xml* file(located in *src/native*) which has a target(
*screencapture*) to compile the above .c file.
As I understood this target can build the above .c file specifically to the
OS as a shared library. As an example for my machine which is running
Ubuntu 13.04 64bit, it generates "libjnscreencapture.so" in
I have two problems regarding this.
*1)* *How is this library loaded in the Jitsi java source? * I tried using
linux find command to search through all files in search of files which
contain the string "libjnscreencapture" but I didn't get any result.
*2) I tried to build the existing
using "ant screencapture". *I have installed the library libx11-dev. It
gives the "Build Successful" message and creates the above
"libjnscreencapture.so" file. Then I completely build the source and run
Jitsi and checked the functionality by taking a Screen Sharing call to
another client. But unfortunately it doesn't work.* I am using the exact .c
file without any modification that is in git repo*. I have already
enabled (Info) logging in Jitsi and Surprisingly I could not find any
Warning or Severe kind of messages in the console regarding this. So can
you suggest me some other way to find out what is going on?
FYI: I enabled ant logging using <record> in the "screencapture" target and
it gave the following result.
[cc] Starting dependency analysis for 1 files.
[cc] 1 files are up to date.
[cc] 0 files to be recompiled from dependency analysis.
[cc] 0 total files to be compiled.
[cc] Starting link
[cc] gcc -m64 -shared -o libjnscreencapture.so
Any help is highly appreciated.