Splits VideoCapturer::OnFrameCaptured into helper methods, which enables use of the VideoAdaptation logic without using a frame factory. Refactors AndroidVideoCapturer to make adaptation decision earlier, so we can crop and rotate using NV12ToI420Rotate. BUG=webrtc:5682 Review-Url: https://codereview.webrtc.org/1973873003 Cr-Commit-Position: refs/heads/master@{#12895}
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/.