mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-15 06:40:43 +01:00
![]() On some devices `android.hardware.Camera.open` returns null instead of raising exception. It causes `NPE` inside `Camera1Session.create` when method `setPreviewTexture` is invoked on local variable `camera`, which is `null`. Bug: webrtc:8658 Change-Id: Ic65b4aef2c0b8b65735a9db02433b536bfe92ddd Reviewed-on: https://webrtc-review.googlesource.com/33620 Reviewed-by: Sami Kalliomäki <sakal@webrtc.org> Commit-Queue: Sami Kalliomäki <sakal@webrtc.org> Cr-Commit-Position: refs/heads/master@{#21352} |
||
---|---|---|
.. | ||
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/.