Reason for revert: Fix issue. Original issue's description: > Revert of Removes usage of native base::android::GetApplicationContext() (patchset #6 id:120001 of https://codereview.webrtc.org/2888093004/ ) > > Reason for revert: > Breaks bot on chromium.webrtc.fyi. > > Original issue's description: > > Removes usage of native base::android::GetApplicationContext() > > > > BUG=webrtc:7665 > > > > Review-Url: https://codereview.webrtc.org/2888093004 > > Cr-Commit-Position: refs/heads/master@{#18195} > > Committed:bc83e2ee69> > TBR=magjed@webrtc.org,henrika@webrtc.org > # Skipping CQ checks because original CL landed less than 1 days ago. > NOPRESUBMIT=true > NOTREECHECKS=true > NOTRY=true > BUG=webrtc:7665 > > Review-Url: https://codereview.webrtc.org/2894593002 > Cr-Commit-Position: refs/heads/master@{#18196} > Committed:40d224814aBUG=webrtc:7665 Review-Url: https://codereview.webrtc.org/2889183002 Cr-Commit-Position: refs/heads/master@{#18235}
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/.