commit | 5a7508ab24f7a0768c5ca0a7ba1b74bc4eb8d938 | [log] [tgz] |
---|---|---|
author | Yura Yaroshevich <yura.yaroshevich@gmail.com> | Tue Dec 19 12:18:41 2017 +0300 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Dec 19 10:01:20 2017 +0000 |
tree | 0918ec910b528ddbef69b821525c201ff61839e0 | |
parent | e7a5567954e43d1560e07770155c6ed66c6b9df2 [diff] |
Fixed NPE inside org.webrtc.Camera1Session.create 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}
WebRTC is a free, open software project that provides browsers and mobile applications with Real-Time Communications (RTC) capabilities via simple APIs. The WebRTC components have been optimized to best serve this purpose.
Our mission: To enable rich, high-quality RTC applications to be developed for the browser, mobile platforms, and IoT devices, and allow them all to communicate via a common set of protocols.
The WebRTC initiative is a project supported by Google, Mozilla and Opera, amongst others.
See http://www.webrtc.org/native-code/development for instructions on how to get started developing with the native code.
Authoritative list of directories that contain the native API header files.