mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-17 23:57:59 +01:00
![]() This fixes clients with custom JNI_OnLoad code. This is basically a reland of https://webrtc-review.googlesource.com/21281, but called from LoadGlobalClassReferenceHolder instead of InitGlobalJniVariables. The problem it solves is that some clients call InitGlobalJniVariables from a strange thread and without using the rest of our Java API. TBR=lliuu@@webrtc.org,sakal@webrtc.org Bug: webrtc:8278 Change-Id: I664e50920bcd7e087ec2d8bb5be13569e8ff3088 Reviewed-on: https://webrtc-review.googlesource.com/22801 Reviewed-by: Magnus Jedvert <magjed@webrtc.org> Commit-Queue: Magnus Jedvert <magjed@webrtc.org> Cr-Commit-Position: refs/heads/master@{#20663} |
||
---|---|---|
.. | ||
api/org/webrtc | ||
instrumentationtests | ||
src | ||
tests/src/org/webrtc | ||
AndroidManifest.xml | ||
BUILD.gn | ||
OWNERS | ||
PRESUBMIT.py | ||
README |
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/.