Hi,
I use libwebrtc in a large app. We don't use build that comes with libwebrtc, but maintain our own cmake based build.
Now, my current task is to make it work on androids. I use libwebrtc as a purely native lib. When I try to use it, native code tries to load some classes in modules\utility\source\jvm_android.cc. That is, I need to also compile some java files to be able to use libwebrtc on Android.
As I understand, there are two parts of of java files: those that are required by c++ part for native operation, and then, there is java version of webrtc itself that actually makes it possible to create peer connections directly from java. My question is: what java files are actually required for purely native libwebrtc operation? I don't want to compile that java version of webrtc, as all my use of the lib happens directly from c++ native code.
When I was trying to include java files that c++ side tried to locate, these files required some other java files, that required others ... and at the end all java files are getting pulled in. So, it looks like there is no clear separation of what's required for purely native libwebrtc, and what part provides separate java interface for libwebrtc.