This reverts commit b3a8c980f7b33e7457f9a1ee3582ccbc28b7f70c. Reason for revert: Breaking internal projects Original change's description: > Move InitClassLoader from JNI_OnLoad to InitGlobalJniVariables. > > This fixes clients with custom JNI_OnLoad code. > > Bug: webrtc:8278 > Change-Id: I67b45c2ca07b13b0bf968c5ac17ec6f1bcc58a86 > Reviewed-on: https://webrtc-review.googlesource.com/21281 > Reviewed-by: Magnus Jedvert <magjed@webrtc.org> > Commit-Queue: Magnus Jedvert <magjed@webrtc.org> > Cr-Commit-Position: refs/heads/master@{#20629} TBR=magjed@webrtc.org,sakal@webrtc.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: webrtc:8278 Change-Id: I6add8182172501cb93bed998f68ce848c7280a98 Reviewed-on: https://webrtc-review.googlesource.com/22780 Reviewed-by: Lu Liu <lliuu@webrtc.org> Commit-Queue: Lu Liu <lliuu@webrtc.org> Cr-Commit-Position: refs/heads/master@{#20660}
This directory holds a Java implementation of the webrtc::PeerConnection API, as
well as the JNI glue C++ code that lets the Java implementation reuse the C++
implementation of the same API.
To build the Java API and related tests, generate GN projects with:
--args='target_os="android"'
To use the Java API, start by looking at the public interface of
org.webrtc.PeerConnection{,Factory} and the org.webrtc.PeerConnectionTest.
To understand the implementation of the API, see the native code in jni/.