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 1783793002: VideoCapturer: Update interface (Closed)

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

VideoCapturer: Update interface This CL changes the interface by adding a SurfaceTextureHelper argument to VideoCapturer.startCapture(). This removes the need for the VideoCapturer to create the SurfaceTextureHelper itself. This also means that it is no longer necessary to send an EGLContext to the VideoCapturerAndroid.create() function. The SurfaceTextureHelper is now created in AndroidVideoCapturerJni, and the EGLContext is passed from PeerConnectionFactory in nativeCreateVideoSource(). Another change in this CL is that the C++ SurfaceTextureHelper creates the Java SurfaceTextureHelper instead of getting it passed as an argument in the ctor. BUG=webrtc:5519 Committed: https://crrev.com/0dc2316e8b46de179bf766d44afcb3a169430132 Cr-Commit-Position: refs/heads/master@{#11977}

Patch Set 1 : #

Total comments: 9

Patch Set 2 : Addressing perkj@s comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+135 lines, -98 lines) Patch
M webrtc/api/androidtests/src/org/webrtc/VideoCapturerAndroidTest.java View 1 11 chunks +18 lines, -31 lines 0 comments Download
M webrtc/api/androidtests/src/org/webrtc/VideoCapturerAndroidTestFixtures.java View 1 14 chunks +40 lines, -16 lines 0 comments Download
M webrtc/api/java/android/org/webrtc/VideoCapturerAndroid.java View 7 chunks +19 lines, -14 lines 0 comments Download
M webrtc/api/java/jni/androidmediadecoder_jni.cc View 2 chunks +3 lines, -12 lines 0 comments Download
M webrtc/api/java/jni/androidvideocapturer_jni.h View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/api/java/jni/androidvideocapturer_jni.cc View 1 4 chunks +9 lines, -3 lines 0 comments Download
M webrtc/api/java/jni/peerconnection_jni.cc View 1 chunk +3 lines, -8 lines 0 comments Download
M webrtc/api/java/jni/surfacetexturehelper_jni.h View 1 1 chunk +5 lines, -3 lines 0 comments Download
M webrtc/api/java/jni/surfacetexturehelper_jni.cc View 2 chunks +13 lines, -2 lines 0 comments Download
M webrtc/api/java/src/org/webrtc/PeerConnectionFactory.java View 2 chunks +6 lines, -3 lines 0 comments Download
M webrtc/api/java/src/org/webrtc/VideoCapturer.java View 1 chunk +18 lines, -5 lines 0 comments Download

Messages

Total messages: 16 (10 generated)
magjed_webrtc
perkj - Please take a look.
4 years, 9 months ago (2016-03-11 14:09:39 UTC) #6
perkj_webrtc
lgtm if the below is addressed. https://codereview.webrtc.org/1783793002/diff/40001/webrtc/api/androidtests/src/org/webrtc/VideoCapturerAndroidTest.java File webrtc/api/androidtests/src/org/webrtc/VideoCapturerAndroidTest.java (right): https://codereview.webrtc.org/1783793002/diff/40001/webrtc/api/androidtests/src/org/webrtc/VideoCapturerAndroidTest.java#newcode92 webrtc/api/androidtests/src/org/webrtc/VideoCapturerAndroidTest.java:92: public void testStartVideoCapturerUsingTextures() ...
4 years, 9 months ago (2016-03-11 15:25:02 UTC) #7
magjed_webrtc
https://codereview.webrtc.org/1783793002/diff/40001/webrtc/api/androidtests/src/org/webrtc/VideoCapturerAndroidTest.java File webrtc/api/androidtests/src/org/webrtc/VideoCapturerAndroidTest.java (right): https://codereview.webrtc.org/1783793002/diff/40001/webrtc/api/androidtests/src/org/webrtc/VideoCapturerAndroidTest.java#newcode92 webrtc/api/androidtests/src/org/webrtc/VideoCapturerAndroidTest.java:92: public void testStartVideoCapturerUsingTextures() throws InterruptedException { On 2016/03/11 15:25:02, ...
4 years, 9 months ago (2016-03-13 11:14:34 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1783793002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1783793002/80001
4 years, 9 months ago (2016-03-14 09:24:04 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:80001)
4 years, 9 months ago (2016-03-14 10:59:42 UTC) #14
commit-bot: I haz the power
4 years, 9 months ago (2016-03-14 10:59:48 UTC) #16
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/0dc2316e8b46de179bf766d44afcb3a169430132
Cr-Commit-Position: refs/heads/master@{#11977}

Powered by Google App Engine
This is Rietveld 408576698