The plan is to use CameraEnumerator as a "factory" for camera objects in the future. This CL prepares for that by moving Camera1 specific stuff away from CameraEnumerationAndroid to Camera1Enumerator. Because CameraEnumerationAndroid methods were part of public API there are deprecated mocks for now. When making these changes, I noticed that code duplication in CameraVideoCapturer tests implementing TestObjectFactory could be decreased by making TestObjectFactory an abstract class that uses CameraEnumerator. BUG=webrtc:5519 Review-Url: https://codereview.webrtc.org/2071803002 Cr-Commit-Position: refs/heads/master@{#13185}
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, build with OS=android in $GYP_DEFINES.
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/.