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

Issue 2276593003: Android Screen Capturer. (Closed)

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

Description

Create Android screen capturer. Committed: https://crrev.com/b75f2541c942e2f35c3b7d7003ed17504176ced1 Cr-Commit-Position: refs/heads/master@{#14010}

Patch Set 1 #

Patch Set 2 : Fix comments. #

Total comments: 17

Patch Set 3 : Create Android screen capturer. #

Total comments: 26

Patch Set 4 : Manage MediaProjection inside ScreenCapturerAndroid and allow calling changeFormat() whether captur… #

Total comments: 4

Patch Set 5 : Switch to new Video API. #

Patch Set 6 : Merge conflicts with https://codereview.webrtc.org/2298063003 #

Patch Set 7 : merge master #

Unified diffs Side-by-side diffs Delta from patch set Stats (+260 lines, -9 lines) Patch
M webrtc/api/android/java/src/org/webrtc/CameraCapturer.java View 1 chunk +5 lines, -0 lines 0 comments Download
M webrtc/api/android/java/src/org/webrtc/PeerConnectionFactory.java View 1 2 3 4 5 2 chunks +3 lines, -2 lines 0 comments Download
A webrtc/api/android/java/src/org/webrtc/ScreenCapturerAndroid.java View 1 2 3 4 1 chunk +231 lines, -0 lines 0 comments Download
M webrtc/api/android/java/src/org/webrtc/VideoCapturer.java View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download
M webrtc/api/android/java/src/org/webrtc/VideoCapturerAndroid.java View 1 chunk +5 lines, -0 lines 0 comments Download
M webrtc/api/android/jni/peerconnection_jni.cc View 1 2 3 4 5 1 chunk +3 lines, -2 lines 0 comments Download
M webrtc/api/androidvideotracksource.h View 1 2 3 chunks +4 lines, -3 lines 0 comments Download
M webrtc/api/androidvideotracksource.cc View 1 2 1 chunk +4 lines, -2 lines 0 comments Download

Messages

Total messages: 35 (15 generated)
arsany
Hi all, This is a proposal to upstream the Android screen capturer discussed elsewhere.
4 years, 4 months ago (2016-08-23 22:37:20 UTC) #3
arsany
4 years, 4 months ago (2016-08-23 23:03:28 UTC) #4
magjed_webrtc
Thanks Arsany! The ScreenCapturerAndroid code is very clean. It would be nice if we could ...
4 years, 4 months ago (2016-08-24 12:19:22 UTC) #6
arsany
Thanks, Magnus. PTAL. Example code: Creation: ----------- mediaProjection = get user permission and create MediaProjection ...
4 years, 3 months ago (2016-08-26 02:07:36 UTC) #7
sakal
Please note that videoSource.stop() and videoSource.restart() are probably going away in the future. https://codereview.webrtc.org/2276593003/diff/40001/webrtc/api/android/java/src/org/webrtc/ScreenCapturerAndroid.java File ...
4 years, 3 months ago (2016-08-26 07:21:49 UTC) #8
magjed_webrtc
https://codereview.webrtc.org/2276593003/diff/20001/webrtc/api/android/java/src/org/webrtc/ScreenCapturerAndroid.java File webrtc/api/android/java/src/org/webrtc/ScreenCapturerAndroid.java (right): https://codereview.webrtc.org/2276593003/diff/20001/webrtc/api/android/java/src/org/webrtc/ScreenCapturerAndroid.java#newcode65 webrtc/api/android/java/src/org/webrtc/ScreenCapturerAndroid.java:65: public void setup(VirtualDisplay virtualDisplay, int width, int height) { ...
4 years, 3 months ago (2016-08-26 10:23:49 UTC) #9
arsany
Thanks, Magnus, and Sami I made this class manage MediaProjection. I had to pass in ...
4 years, 3 months ago (2016-08-30 00:52:15 UTC) #10
sakal
https://codereview.webrtc.org/2276593003/diff/40001/webrtc/api/android/java/src/org/webrtc/ScreenCapturerAndroid.java File webrtc/api/android/java/src/org/webrtc/ScreenCapturerAndroid.java (right): https://codereview.webrtc.org/2276593003/diff/40001/webrtc/api/android/java/src/org/webrtc/ScreenCapturerAndroid.java#newcode35 webrtc/api/android/java/src/org/webrtc/ScreenCapturerAndroid.java:35: * Note that startCapture(), stopCapture(), and dispose() are called ...
4 years, 3 months ago (2016-08-30 07:30:13 UTC) #11
magjed_webrtc
I think this is starting to look good and that we can land it soon. ...
4 years, 3 months ago (2016-08-30 10:50:54 UTC) #12
arsany
Thanks, all done. In a follow-up CL we can pass a config object telling the ...
4 years, 3 months ago (2016-08-30 20:23:18 UTC) #13
magjed_webrtc
lgtm
4 years, 3 months ago (2016-08-31 11:16:31 UTC) #16
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/2276593003/80001
4 years, 3 months ago (2016-08-31 18:07:36 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: ios_rel on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/ios_rel/builds/16331)
4 years, 3 months ago (2016-08-31 18:09:46 UTC) #20
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/2276593003/100001
4 years, 3 months ago (2016-08-31 21:12:28 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: presubmit on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/7921)
4 years, 3 months ago (2016-08-31 21:33:09 UTC) #25
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/2276593003/120001
4 years, 3 months ago (2016-08-31 21:52:09 UTC) #28
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, 3 months ago (2016-08-31 23:52:45 UTC) #30
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/2276593003/120001
4 years, 3 months ago (2016-08-31 23:56:49 UTC) #32
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 3 months ago (2016-09-01 01:50:57 UTC) #33
commit-bot: I haz the power
4 years, 3 months ago (2016-09-01 01:51:10 UTC) #35
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/b75f2541c942e2f35c3b7d7003ed17504176ced1
Cr-Commit-Position: refs/heads/master@{#14010}

Powered by Google App Engine
This is Rietveld 408576698