webrtc/sdk/android
Sami Kalliomäki 78498cf5ee Implements JavaToNativeStringMap and adds tests for native API.
Implements JavaToNativeStringMap that is a replacement for
JavaToStdMapStrings. It uses a new template method JavaToNativeMap. Also
adds testing support for native API and a test for JavaToNativeStringMap.

Bug: webrtc:8769
Change-Id: I580d4992a899ebe02da39af450fa51d52ee9b88b
Reviewed-on: https://webrtc-review.googlesource.com/48060
Reviewed-by: Magnus Jedvert <magjed@webrtc.org>
Reviewed-by: Patrik Höglund <phoglund@webrtc.org>
Commit-Queue: Sami Kalliomäki <sakal@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#21967}
2018-02-09 10:34:44 +00:00
..
api/org/webrtc Revert "Use SRTP_AES128_CM_SHA1_80 by default instead of SRTP_AES128_CM_SHA1_32." 2018-02-08 16:25:31 +00:00
instrumentationtests Update HWVideoEncoder to reuse codec buffer instead of copying the data. 2018-02-07 13:52:58 +00:00
native_api Implements JavaToNativeStringMap and adds tests for native API. 2018-02-09 10:34:44 +00:00
native_unittests Implements JavaToNativeStringMap and adds tests for native API. 2018-02-09 10:34:44 +00:00
src Implements JavaToNativeStringMap and adds tests for native API. 2018-02-09 10:34:44 +00:00
tests/src/org/webrtc Moving src/webrtc into src/. 2017-09-15 04:25:06 +00:00
AndroidManifest.xml Moving src/webrtc into src/. 2017-09-15 04:25:06 +00:00
BUILD.gn Implements JavaToNativeStringMap and adds tests for native API. 2018-02-09 10:34:44 +00:00
OWNERS Moving src/webrtc into src/. 2017-09-15 04:25:06 +00:00
PRESUBMIT.py Moving src/webrtc into src/. 2017-09-15 04:25:06 +00:00
README Moving src/webrtc into src/. 2017-09-15 04:25:06 +00:00

This directory holds a Java implementation of the webrtc::PeerConnection API, as
well as the JNI glue C++ code that lets the Java implementation reuse the C++
implementation of the same API.

To build the Java API and related tests, generate GN projects with:
--args='target_os="android"'

To use the Java API, start by looking at the public interface of
org.webrtc.PeerConnection{,Factory} and the org.webrtc.PeerConnectionTest.

To understand the implementation of the API, see the native code in jni/.