Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(15)

Issue 2627153002: Do not report camera disconnected event if Android camera is closing. (Closed)

Created:
3 years, 11 months ago by AlexG
Modified:
3 years, 11 months ago
Reviewers:
magjed_webrtc, sakal
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, sakal
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Do not report camera disconnected event if Android camera is closing. Ignore CAMERA_ERROR_EVICTED error if camera is about to be closed. This is valid use case when other app is opening camera while WebRTC Android app is trying to close it. BUG=b/34112992 Review-Url: https://codereview.webrtc.org/2627153002 Cr-Commit-Position: refs/heads/master@{#16039} Committed: https://chromium.googlesource.com/external/webrtc/+/21b6cce0c498244a1a4fdb3e21fba0c837660f86

Patch Set 1 #

Total comments: 2

Patch Set 2 : Address comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -2 lines) Patch
M webrtc/sdk/android/api/org/webrtc/VideoCapturerAndroid.java View 1 1 chunk +7 lines, -2 lines 0 comments Download

Messages

Total messages: 14 (7 generated)
AlexG
PTAL
3 years, 11 months ago (2017-01-11 22:04:53 UTC) #2
sakal
lgtm If we do this, we should also do it for CameraCapturer though. https://codereview.webrtc.org/2627153002/diff/1/webrtc/sdk/android/api/org/webrtc/VideoCapturerAndroid.java File ...
3 years, 11 months ago (2017-01-12 09:00:43 UTC) #5
magjed_webrtc
lgtm, but please update CameraCapturer as well.
3 years, 11 months ago (2017-01-12 09:13:41 UTC) #6
AlexG
On 2017/01/12 09:13:41, magjed_webrtc wrote: > lgtm, but please update CameraCapturer as well. This is ...
3 years, 11 months ago (2017-01-12 19:43:06 UTC) #7
AlexG
https://codereview.webrtc.org/2627153002/diff/1/webrtc/sdk/android/api/org/webrtc/VideoCapturerAndroid.java File webrtc/sdk/android/api/org/webrtc/VideoCapturerAndroid.java (right): https://codereview.webrtc.org/2627153002/diff/1/webrtc/sdk/android/api/org/webrtc/VideoCapturerAndroid.java#newcode103 webrtc/sdk/android/api/org/webrtc/VideoCapturerAndroid.java:103: errorMessage = "Camera error: " + error + ". ...
3 years, 11 months ago (2017-01-12 19:43:26 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2627153002/20001
3 years, 11 months ago (2017-01-12 19:43:56 UTC) #11
commit-bot: I haz the power
3 years, 11 months ago (2017-01-12 21:05:51 UTC) #14
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/external/webrtc/+/21b6cce0c498244a1a4fdb3e2...

Powered by Google App Engine
This is Rietveld 408576698