This CL adds a replacement for JNIEnv::FindClass that works from any thread, i.e. from native C++ threads as well. This function will be used from the generated JNI code. Long term, we should stop using classreferenceholder that relies on a hardcoded list of WebRTC classes. Bug: webrtc:8278 Change-Id: I4f40c744325ac02b73bd8fa479ab50b684429dc2 Reviewed-on: https://webrtc-review.googlesource.com/20223 Commit-Queue: Magnus Jedvert <magjed@webrtc.org> Reviewed-by: Sami Kalliomäki <sakal@webrtc.org> Cr-Commit-Position: refs/heads/master@{#20583}
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/.