This reverts commit 6b0c5babe0700f12493cf659e1b35c58d2327995. Reason for revert: Relanding once downstream issues have been addressed Original change's description: > Revert "Remove unsupported configuration value, `allow_codec_switching`" > > This reverts commit 8f7a17f80f43a47ce3801a3cfd2afda3575c8023. > > Reason for revert: breaks downstream > > Original change's description: > > Remove unsupported configuration value, `allow_codec_switching` > > > > Bug: webrtc:11341 > > Change-Id: I8ff598848996bd63ccc572e11f8f69c892a4a459 > > Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/324284 > > Reviewed-by: Philip Eliasson <philipel@webrtc.org> > > Commit-Queue: Tomas Gunnarsson <tommi@webrtc.org> > > Cr-Commit-Position: refs/heads/main@{#40995} > > Bug: webrtc:11341 > Change-Id: I784fd95062fc71f8dcc139b05121985f60709004 > No-Presubmit: true > No-Tree-Checks: true > No-Try: true > Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/324780 > Owners-Override: Philip Eliasson <philipel@webrtc.org> > Bot-Commit: rubber-stamper@appspot.gserviceaccount.com <rubber-stamper@appspot.gserviceaccount.com> > Commit-Queue: Philip Eliasson <philipel@webrtc.org> > Cr-Commit-Position: refs/heads/main@{#40998} Bug: webrtc:11341 Change-Id: I3cb3e699fd76942c51f0f42a99bcb19ac607632e No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/324782 Bot-Commit: rubber-stamper@appspot.gserviceaccount.com <rubber-stamper@appspot.gserviceaccount.com> Commit-Queue: Tomas Gunnarsson <tommi@webrtc.org> Cr-Commit-Position: refs/heads/main@{#41032}
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/.