You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
917 B

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