• Home
Name Date Size #Lines LOC

..--

api/org/webrtc/04-Jul-2025-14,6668,976

instrumentationtests/04-Jul-2025-8,2535,930

native_api/04-Jul-2025-2,2301,344

native_unittests/04-Jul-2025-2,5951,814

src/04-Jul-2025-21,95315,222

tests/04-Jul-2025-1,7941,311

AndroidManifest.xmlD04-Jul-2025629 155

BUILD.gnD04-Jul-202554.3 KiB1,7461,583

OWNERS.webrtcD04-Jul-2025165 108

READMED04-Jul-2025917 2216

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