Reason for revert: Downstream code has been updated. Original issue's description: > Revert of Android: Make base interface for camera1 and camera2 (patchset #1 id:1 of https://codereview.webrtc.org/1994893002/ ) > > Reason for revert: > Still breaks downstream import. > > Original issue's description: > > Reland of Android: Make base interface for camera1 and camera2 (patchset #1 id:1 of https://codereview.webrtc.org/1979583002/ ) > > > > Reason for revert: > > Downstream code has been updated. > > > > Original issue's description: > > > Revert of Android: Make base interface for camera1 and camera2 (patchset #3 id:80001 of https://codereview.webrtc.org/1895483002/ ) > > > > > > Reason for revert: > > > Breaks downstream import. > > > > > > Original issue's description: > > > > Android: Make base interface for camera1 and camera2 > > > > > > > > This CL adds a new interface CameraVideoCapturer that extends VideoCapturer with a switchCamera() function. It also moves moves CameraEventsHandler, CameraStatistics, and CameraSwitchHandler from VideoCapturerAndroid to this new interface. The purpose is to prepare for a camera2 implementation that will use the same interfaces and helper class. > > > > > > > > BUG=webrtc:5519 > > > > > > > > Committed: https://crrev.com/6bdacaddfb18edef1f0cdd778209f6b05a8f9210 > > > > Cr-Commit-Position: refs/heads/master@{#12723} > > > > > > TBR=perkj@webrtc.org > > > # Skipping CQ checks because original CL landed less than 1 days ago. > > > NOPRESUBMIT=true > > > NOTREECHECKS=true > > > NOTRY=true > > > BUG=webrtc:5519 > > > > > > Committed: https://crrev.com/181b5ffdf036427d92929667d9d43bbcff560435 > > > Cr-Commit-Position: refs/heads/master@{#12727} > > > > TBR=perkj@webrtc.org > > # Not skipping CQ checks because original CL landed more than 1 days ago. > > BUG=webrtc:5519 > > > > Committed: https://crrev.com/d269b023bfe1c321798fe9c8dbd631a562914fe1 > > Cr-Commit-Position: refs/heads/master@{#12807} > > TBR=perkj@webrtc.org > # Skipping CQ checks because original CL landed less than 1 days ago. > NOPRESUBMIT=true > NOTREECHECKS=true > NOTRY=true > BUG=webrtc:5519 > > Committed: https://crrev.com/bd76607abb712f98c01709f240f147e4bd49df6d > Cr-Commit-Position: refs/heads/master@{#12809} TBR=perkj@webrtc.org # Not skipping CQ checks because original CL landed more than 1 days ago. BUG=webrtc:5519 Review URL: https://codereview.webrtc.org/1999053002 . Cr-Commit-Position: refs/heads/master@{#12830}
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/.