|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | - | - |
| api/org/webrtc/ | | 03-May-2024 | - | 14,073 | 8,654 |
| instrumentationtests/ | | 03-May-2024 | - | 7,904 | 5,687 |
| native_api/ | | 03-May-2024 | - | 2,193 | 1,317 |
| native_unittests/ | | 03-May-2024 | - | 2,348 | 1,628 |
| src/ | | 03-May-2024 | - | 21,165 | 14,631 |
| tests/ | | 03-May-2024 | - | 1,533 | 1,128 |
| AndroidManifest.xml | D | 03-May-2024 | 629 | 15 | 5 |
| BUILD.gn | D | 03-May-2024 | 48.8 KiB | 1,547 | 1,403 |
| OWNERS.webrtc | D | 03-May-2024 | 76 | 4 | 3 |
| PRESUBMIT.py | D | 03-May-2024 | 1.3 KiB | 29 | 17 |
| README | D | 03-May-2024 | 917 | 22 | 16 |
README
1This 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
5To 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/
17
18To use the Java API, start by looking at the public interface of
19org.webrtc.PeerConnection{,Factory} and the org.webrtc.PeerConnectionTest.
20
21To understand the implementation of the API, see the native code in src/jni/pc/.
22