blob: 53bdc9edc589cc99b999b175383c06774ab06e99 [file] [log] [blame]
henrike@webrtc.org28e20752013-07-10 00:45:361This directory holds a Java implementation of the webrtc::PeerConnection API, as
2well as the JNI glue C++ code that lets the Java implementation reuse the C++
3implementation of the same API.
4
Seth Hampson243cd322018-03-01 00:07:565To build the Java API and related tests, make sure you have a WebRTC checkout
6with Android specific parts. This can be used for linux development as well by
7configuring gn appropriately, as it is a superset of the webrtc checkout:
8fetch --nohooks webrtc_android
9gclient sync
10
11You also must generate GN projects with:
12--args='target_os="android" target_cpu="arm"'
13
14More information on getting the code, compiling and running the AppRTCMobile
15app can be found at:
16https://webrtc.org/native-code/android/
henrike@webrtc.org28e20752013-07-10 00:45:3617
18To use the Java API, start by looking at the public interface of
19org.webrtc.PeerConnection{,Factory} and the org.webrtc.PeerConnectionTest.
20
Seth Hampson243cd322018-03-01 00:07:5621To understand the implementation of the API, see the native code in src/jni/pc/.