This is a reland of 177670afd6d4aa414e4aa75983da538b7f350ee8 Fixing failing tests. TBR=magjed@webrtc.org Original change's description: > Add bindings for simulcast and RIDs in Android SDK. > > This adds the bindings for rid in RtpParameters.Encoding and bindings > for send_encodings in RtpTransceiverInit to allow creating a transceiver > with multiple send encodings. > > Bug: webrtc:10464 > Change-Id: I4c205dc0f466768c63b7efcb3c68e93277236da0 > Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/128960 > Reviewed-by: Magnus Jedvert <magjed@webrtc.org> > Reviewed-by: Seth Hampson <shampson@webrtc.org> > Commit-Queue: Amit Hilbuch <amithi@webrtc.org> > Cr-Commit-Position: refs/heads/master@{#27323} Bug: webrtc:10464 Change-Id: I95fac3967217c20a9fdddb490aea30eca2061ef0 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/130362 Commit-Queue: Amit Hilbuch <amithi@webrtc.org> Reviewed-by: Seth Hampson <shampson@webrtc.org> Cr-Commit-Position: refs/heads/master@{#27402}
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/.