webrtc/sdk/android
Magnus Jedvert 443760d4ba Android: Add option to print native stack traces in PeerConnectionFactory API
This CL hooks up the recently added native stack trace functionality to
the existing PeerConnectionFactory API.

Bug: webrtc:10168
Change-Id: I16189d2988b1359fc53f9a4d0b3d06f34e2a8fd5
Reviewed-on: https://webrtc-review.googlesource.com/c/118600
Reviewed-by: Tommi <tommi@webrtc.org>
Commit-Queue: Magnus Jedvert <magjed@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#26344}
2019-01-21 16:07:26 +00:00
..
api/org/webrtc Android: Add option to print native stack traces in PeerConnectionFactory API 2019-01-21 16:07:26 +00:00
instrumentationtests Add the equals method to IceServer. 2019-01-16 01:06:17 +00:00
native_api Reland "Android: Add helper methods for printing native stack traces" 2019-01-21 15:18:56 +00:00
native_unittests Reland "Android: Add helper methods for printing native stack traces" 2019-01-21 15:18:56 +00:00
src Android: Add option to print native stack traces in PeerConnectionFactory API 2019-01-21 16:07:26 +00:00
tests Use android Nullable instead of javax Nullable 2018-12-10 15:03:58 +00:00
AndroidManifest.xml Moving src/webrtc into src/. 2017-09-15 04:25:06 +00:00
BUILD.gn Android: Add option to print native stack traces in PeerConnectionFactory API 2019-01-21 16:07:26 +00:00
OWNERS Android: Add henrika@ as owner of audio code 2018-03-21 09:59:18 +00:00
PRESUBMIT.py Moving src/webrtc into src/. 2017-09-15 04:25:06 +00:00
README Updating android/README. 2018-03-01 20:22:48 +00:00

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/.