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

Issue 2012193003: VideoCapturerAndroid: Replace static create() with ctor (Closed)

Created:
4 years, 7 months ago by magjed_webrtc
Modified:
4 years, 6 months ago
Reviewers:
sakal
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

VideoCapturerAndroid: Replace static create() with ctor This CL makes the ctor public and externally usable by changing the camera id argument from an int to a String. The main purpose with this change is to get rid of the CameraEnumerationAndroid.setEnumerator() hack. If an external app wants to have a custom format enumeration, they can just override getSupportedFormats() instead. BUG=webrtc:5519 Committed: https://crrev.com/36c11e9132b61658ee8704e23ab0c66b50a9c1b1 Cr-Commit-Position: refs/heads/master@{#12945}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add @Deprecated. Make ctor public. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -16 lines) Patch
M webrtc/api/java/android/org/webrtc/VideoCapturerAndroid.java View 1 3 chunks +20 lines, -16 lines 0 comments Download

Messages

Total messages: 13 (6 generated)
magjed_webrtc
Sami - please take a look.
4 years, 7 months ago (2016-05-26 14:07:29 UTC) #4
sakal
https://codereview.webrtc.org/2012193003/diff/1/webrtc/api/java/android/org/webrtc/VideoCapturerAndroid.java File webrtc/api/java/android/org/webrtc/VideoCapturerAndroid.java (right): https://codereview.webrtc.org/2012193003/diff/1/webrtc/api/java/android/org/webrtc/VideoCapturerAndroid.java#newcode108 webrtc/api/java/android/org/webrtc/VideoCapturerAndroid.java:108: // Depreated. Use ctor directly instead. Nit: Deprecated Also, ...
4 years, 7 months ago (2016-05-26 14:20:22 UTC) #5
magjed_webrtc
https://codereview.webrtc.org/2012193003/diff/1/webrtc/api/java/android/org/webrtc/VideoCapturerAndroid.java File webrtc/api/java/android/org/webrtc/VideoCapturerAndroid.java (right): https://codereview.webrtc.org/2012193003/diff/1/webrtc/api/java/android/org/webrtc/VideoCapturerAndroid.java#newcode108 webrtc/api/java/android/org/webrtc/VideoCapturerAndroid.java:108: // Depreated. Use ctor directly instead. On 2016/05/26 14:20:22, ...
4 years, 7 months ago (2016-05-26 14:58:07 UTC) #6
sakal
On 2016/05/26 14:58:07, magjed_webrtc wrote: > https://codereview.webrtc.org/2012193003/diff/1/webrtc/api/java/android/org/webrtc/VideoCapturerAndroid.java > File webrtc/api/java/android/org/webrtc/VideoCapturerAndroid.java (right): > > https://codereview.webrtc.org/2012193003/diff/1/webrtc/api/java/android/org/webrtc/VideoCapturerAndroid.java#newcode108 > ...
4 years, 6 months ago (2016-05-27 07:18:51 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2012193003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2012193003/20001
4 years, 6 months ago (2016-05-27 08:32:12 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 6 months ago (2016-05-27 09:35:13 UTC) #11
commit-bot: I haz the power
4 years, 6 months ago (2016-05-27 09:35:23 UTC) #13
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/36c11e9132b61658ee8704e23ab0c66b50a9c1b1
Cr-Commit-Position: refs/heads/master@{#12945}

Powered by Google App Engine
This is Rietveld 408576698