The plan is that the CameraEnumerationAndroid will in the future have method called getEnumerator that will return an enumerator that can be used to create CameraVideoCapturer objects. It will return Camera2Enumerator if it is supported or else Camera1Enumerator. Some apps want to capture to byte buffers which is no longer supported in the camera2 version of CameraVideoCapturer. Camera1Enumerator constructed with false parameter as captureToTexture will be returned to these apps. BUG=webrtc:5519 R=magjed@webrtc.org Review URL: https://codereview.webrtc.org/2071213003 . Cr-Commit-Position: refs/heads/master@{#13294}
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/.