libjingle Java Desktop support

248 views
Skip to first unread message

Albert Flaig

unread,
Mar 13, 2016, 7:50:26 PM3/13/16
to discuss-webrtc
I have been trying to build libjingle for Java Desktop for several days but only got the library file for the android version. I soon noticed that the gyp file does not even support building a library for use with Java Desktop.

Are there plans to add this feature again? Or do I have to try and build an older version of libjingle where it was still supported.

Henrik Kjellander

unread,
Mar 20, 2016, 9:15:12 AM3/20/16
to discuss...@googlegroups.com, pe...@webrtc.org
Support for building the libjingle peerconnection JAR file on Linux was removed back in https://codereview.webrtc.org/1652123002/. I think it was mostly done to simplify the code (well needed).
Per can probably comment more.

On Sat, Mar 12, 2016 at 3:34 AM, Albert Flaig <a.f...@gmail.com> wrote:
I have been trying to build libjingle for Java Desktop for several days but only got the library file for the android version. I soon noticed that the gyp file does not even support building a library for use with Java Desktop.

Are there plans to add this feature again? Or do I have to try and build an older version of libjingle where it was still supported.

--

---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/discuss-webrtc/537c0e04-eb83-4b1e-b030-2cf3672bf2d2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Per Kjellander

unread,
Mar 21, 2016, 3:22:15 AM3/21/16
to Henrik Kjellander, discuss...@googlegroups.com
Right, it has been removed to cleanup the Android code. But to my understanding it only ever worked on linux desktop since that is the only platform where we could compile the JNI library. If you want to build a Java App on all desktop platforms you will have to compile the desktop version of the static lib and write your own JNI library on top of it. 

Lars Bork

unread,
Dec 21, 2016, 11:47:31 AM12/21/16
to discuss-webrtc, kjell...@webrtc.org
Hey Per,

so it is possible to compile WebRtc for Java desktop usage, but I have to write my own Java native interface wrapper for it?
How would I compile it for desktop usage?

Best,
Lars
Reply all
Reply to author
Forward
0 new messages