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

Issue 2046863004: Add AVFoundation video capture support to Mac objc SDK (based on iOS) (Closed)

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

Add AVFoundation video capture support to Mac objc SDK (based on iOS) The AppRTCDemo app on Mac OSX does not show or send local video streams, as ACFoundation capture session is not compiled in or implemented in the appropriate places. This is the first part of a two-part patch that implements local capture on the Mac for AppRTCDemo P.S. This is my first patch to WebRTC. I didn't see any relevant tests, but I could write some if you can point me at a location. Also, I don't have access to the automated tests (I don't think) BUG=webrtc:3417 Committed: https://crrev.com/fc22e03eb836768c9994162c6c19afba0d96126e Cr-Commit-Position: refs/heads/master@{#13080}

Patch Set 1 #

Patch Set 2 : Revert accidental patch that belonged in another place #

Total comments: 5

Patch Set 3 : Put framework links in the right place #

Total comments: 2

Patch Set 4 : Minor code updates #

Total comments: 2

Patch Set 5 : Alphabatize frameworks. Minor style change #

Patch Set 6 : Updated BUILD.gn to match gyp #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -19 lines) Patch
M webrtc/sdk/BUILD.gn View 1 2 3 4 5 5 chunks +13 lines, -7 lines 0 comments Download
M webrtc/sdk/objc/Framework/Classes/RTCPeerConnectionFactory.mm View 2 chunks +0 lines, -6 lines 0 comments Download
M webrtc/sdk/objc/Framework/Classes/avfoundationvideocapturer.mm View 1 2 3 4 10 chunks +23 lines, -1 line 0 comments Download
M webrtc/sdk/sdk.gyp View 1 2 3 4 5 5 chunks +11 lines, -5 lines 0 comments Download

Messages

Total messages: 30 (11 generated)
afedor
4 years, 6 months ago (2016-06-08 02:54:37 UTC) #4
tkchin_webrtc
https://codereview.webrtc.org/2046863004/diff/20001/webrtc/sdk/objc/Framework/Classes/avfoundationvideocapturer.mm File webrtc/sdk/objc/Framework/Classes/avfoundationvideocapturer.mm (right): https://codereview.webrtc.org/2046863004/diff/20001/webrtc/sdk/objc/Framework/Classes/avfoundationvideocapturer.mm#newcode224 webrtc/sdk/objc/Framework/Classes/avfoundationvideocapturer.mm:224: - (void)deviceOrientationDidChange:(NSNotification *)notification { guard this one as well ...
4 years, 6 months ago (2016-06-08 19:26:31 UTC) #5
tkchin_webrtc
Just a few nits, this looks like a good start. We don't have continuous testing ...
4 years, 6 months ago (2016-06-08 19:30:14 UTC) #6
afedor
Without CodeMedia, I get the link errors: Undefined symbols for architecture x86_64: "_CMSampleBufferDataIsReady", referenced from: ...
4 years, 6 months ago (2016-06-08 20:56:48 UTC) #7
tkchin_webrtc
hm, no good. Alright, thanks for checking. If it's already broken we don't have to ...
4 years, 6 months ago (2016-06-08 21:35:55 UTC) #8
afedor
4 years, 6 months ago (2016-06-08 22:14:06 UTC) #10
tkchin_webrtc
lgtm I'll commit this once the last couple of nits are addressed https://codereview.webrtc.org/2046863004/diff/60001/webrtc/sdk/objc/Framework/Classes/avfoundationvideocapturer.mm File webrtc/sdk/objc/Framework/Classes/avfoundationvideocapturer.mm ...
4 years, 6 months ago (2016-06-08 22:17:24 UTC) #11
afedor
4 years, 6 months ago (2016-06-08 22:32:24 UTC) #12
afedor
Also, wondering if/when I have to add my name to the AUTHORS file like it ...
4 years, 6 months ago (2016-06-08 22:34:21 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2046863004/80001
4 years, 6 months ago (2016-06-08 22:34:22 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: android_rel on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_rel/builds/14023)
4 years, 6 months ago (2016-06-08 22:38:40 UTC) #18
tkchin_webrtc
On 2016/06/08 22:38:40, commit-bot: I haz the power wrote: > Try jobs failed on following ...
4 years, 6 months ago (2016-06-08 22:42:44 UTC) #19
afedor
On 2016/06/08 22:42:44, tkchin_webrtc wrote: > It looks like the GN build files also have ...
4 years, 6 months ago (2016-06-08 22:58:19 UTC) #20
tkchin_webrtc
On 2016/06/08 22:58:19, adam.fedor wrote: > On 2016/06/08 22:42:44, tkchin_webrtc wrote: > > It looks ...
4 years, 6 months ago (2016-06-08 23:12:18 UTC) #21
afedor
I updated the BUILD.gn file. Although I'm not sure how to test it.
4 years, 6 months ago (2016-06-08 23:40:29 UTC) #22
tkchin_webrtc
On 2016/06/08 23:40:29, adam.fedor wrote: > I updated the BUILD.gn file. Although I'm not sure ...
4 years, 6 months ago (2016-06-08 23:43:04 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2046863004/100001
4 years, 6 months ago (2016-06-08 23:53:29 UTC) #26
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 6 months ago (2016-06-09 00:24:41 UTC) #28
commit-bot: I haz the power
4 years, 6 months ago (2016-06-09 00:24:50 UTC) #30
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/fc22e03eb836768c9994162c6c19afba0d96126e
Cr-Commit-Position: refs/heads/master@{#13080}

Powered by Google App Engine
This is Rietveld 408576698