This reverts commit 1b8ef63876ebfa55a51c8ca9b1d8206bf8233e01. Reason for revert: Breaks downstream projects. b/155256727 Original change's description: > Add an optional override for AudioRecord device > > This is important when we have multiple named devices connected over > USB (eg. "Webcam", "Microphone", "Headset") and there is some way to > choose a specific input device to route from. > > Bug: b/154440591 > Change-Id: I8dc1801a5e4db7f7bb439e855d43897c1f7d8bc4 > Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/173748 > Commit-Queue: Robin Lee <rgl@google.com> > Reviewed-by: Sami Kalliomäki <sakal@webrtc.org> > Reviewed-by: Henrik Andreassson <henrika@webrtc.org> > Cr-Commit-Position: refs/heads/master@{#31130} TBR=henrika@webrtc.org,sakal@webrtc.org,rgl@google.com # Not skipping CQ checks because original CL landed > 1 day ago. Bug: b/154440591, b/155256727 Change-Id: I6836676096d47d9da5702a40b9d127569ad50dda Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/175008 Reviewed-by: Henrik Andreassson <henrika@webrtc.org> Reviewed-by: Henrik Lundin <henrik.lundin@webrtc.org> Commit-Queue: Henrik Lundin <henrik.lundin@webrtc.org> Cr-Commit-Position: refs/heads/master@{#31238}
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, make sure you have a WebRTC checkout
with Android specific parts. This can be used for linux development as well by
configuring gn appropriately, as it is a superset of the webrtc checkout:
fetch --nohooks webrtc_android
gclient sync
You also must generate GN projects with:
--args='target_os="android" target_cpu="arm"'
More information on getting the code, compiling and running the AppRTCMobile
app can be found at:
https://webrtc.org/native-code/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 src/jni/pc/.