1*d9f75844SAndroid Build Coastguard WorkerThis directory holds a Java implementation of the webrtc::PeerConnection API, as 2*d9f75844SAndroid Build Coastguard Workerwell as the JNI glue C++ code that lets the Java implementation reuse the C++ 3*d9f75844SAndroid Build Coastguard Workerimplementation of the same API. 4*d9f75844SAndroid Build Coastguard Worker 5*d9f75844SAndroid Build Coastguard WorkerTo build the Java API and related tests, make sure you have a WebRTC checkout 6*d9f75844SAndroid Build Coastguard Workerwith Android specific parts. This can be used for linux development as well by 7*d9f75844SAndroid Build Coastguard Workerconfiguring gn appropriately, as it is a superset of the webrtc checkout: 8*d9f75844SAndroid Build Coastguard Workerfetch --nohooks webrtc_android 9*d9f75844SAndroid Build Coastguard Workergclient sync 10*d9f75844SAndroid Build Coastguard Worker 11*d9f75844SAndroid Build Coastguard WorkerYou also must generate GN projects with: 12*d9f75844SAndroid Build Coastguard Worker--args='target_os="android" target_cpu="arm"' 13*d9f75844SAndroid Build Coastguard Worker 14*d9f75844SAndroid Build Coastguard WorkerMore information on getting the code, compiling and running the AppRTCMobile 15*d9f75844SAndroid Build Coastguard Workerapp can be found at: 16*d9f75844SAndroid Build Coastguard Workerhttps://webrtc.org/native-code/android/ 17*d9f75844SAndroid Build Coastguard Worker 18*d9f75844SAndroid Build Coastguard WorkerTo use the Java API, start by looking at the public interface of 19*d9f75844SAndroid Build Coastguard Workerorg.webrtc.PeerConnection{,Factory} and the org.webrtc.PeerConnectionTest. 20*d9f75844SAndroid Build Coastguard Worker 21*d9f75844SAndroid Build Coastguard WorkerTo understand the implementation of the API, see the native code in src/jni/pc/. 22