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

Issue 2238263002: Make CameraCapturer.switchCamera try again if session is still opening. (Closed)

Created:
4 years, 4 months ago by sakal
Modified:
4 years, 4 months ago
Reviewers:
magjed_webrtc
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Make CameraCapturer.switchCamera try again if session is still opening. R=magjed@webrtc.org Committed: https://crrev.com/92c09509bdf0287c7af5c1bbde87dd188acf1879 Cr-Commit-Position: refs/heads/master@{#13747}

Patch Set 1 #

Patch Set 2 : Add logging. #

Patch Set 3 : Switch pending approach #

Patch Set 4 : Cleanup. #

Total comments: 6

Patch Set 5 : Changes according to magjed's comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -36 lines) Patch
M webrtc/api/android/java/src/org/webrtc/Camera2Session.java View 1 2 3 4 1 chunk +27 lines, -13 lines 0 comments Download
M webrtc/api/android/java/src/org/webrtc/CameraCapturer.java View 1 2 3 4 9 chunks +38 lines, -23 lines 0 comments Download

Messages

Total messages: 16 (6 generated)
sakal
Magnus, PTAL. To be noted is that Java threads are quite expensive (even more expensive ...
4 years, 4 months ago (2016-08-12 12:56:08 UTC) #1
sakal
New approach doesn't use a add new thread. PTAL.
4 years, 4 months ago (2016-08-15 08:49:08 UTC) #2
magjed_webrtc
https://codereview.webrtc.org/2238263002/diff/60001/webrtc/api/android/java/src/org/webrtc/Camera2Session.java File webrtc/api/android/java/src/org/webrtc/Camera2Session.java (right): https://codereview.webrtc.org/2238263002/diff/60001/webrtc/api/android/java/src/org/webrtc/Camera2Session.java#newcode325 webrtc/api/android/java/src/org/webrtc/Camera2Session.java:325: cameraThreadHandler.post(new Runnable() { Comment that you post stopInternal() instead ...
4 years, 4 months ago (2016-08-15 09:13:29 UTC) #3
sakal
https://codereview.webrtc.org/2238263002/diff/60001/webrtc/api/android/java/src/org/webrtc/Camera2Session.java File webrtc/api/android/java/src/org/webrtc/Camera2Session.java (right): https://codereview.webrtc.org/2238263002/diff/60001/webrtc/api/android/java/src/org/webrtc/Camera2Session.java#newcode325 webrtc/api/android/java/src/org/webrtc/Camera2Session.java:325: cameraThreadHandler.post(new Runnable() { On 2016/08/15 09:13:29, magjed_webrtc wrote: > ...
4 years, 4 months ago (2016-08-15 09:40:30 UTC) #4
magjed_webrtc
lgtm
4 years, 4 months ago (2016-08-15 09:57:49 UTC) #5
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/2238263002/80001
4 years, 4 months ago (2016-08-15 10:12:44 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on master.tryserver.webrtc (JOB_TIMED_OUT, no build URL)
4 years, 4 months ago (2016-08-15 12:13:08 UTC) #9
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/2238263002/80001
4 years, 4 months ago (2016-08-15 13:17:58 UTC) #12
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 4 months ago (2016-08-15 13:19:39 UTC) #14
commit-bot: I haz the power
4 years, 4 months ago (2016-08-15 13:19:45 UTC) #16
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/92c09509bdf0287c7af5c1bbde87dd188acf1879
Cr-Commit-Position: refs/heads/master@{#13747}

Powered by Google App Engine
This is Rietveld 408576698