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

Issue 2944643002: Support building WebRTC without audio and video for IOS (Closed)

Created:
3 years, 6 months ago by Zhi Huang
Modified:
3 years, 5 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Support building WebRTC without audio and video for IOS. Reorganized the targets in webrtc/sdk/BUILD.gn so that the applications which use WebRTC DataChannel only can depend on the "peerconnection_factory_no_media" instead of "rtc_sdk_objc" to reduce the binary size. Provided a no-media implementation of RTCPeerConnectionFactory using the macro "HAVE_NO_MEDIA". BUG=webrtc:7613 Review-Url: https://codereview.webrtc.org/2944643002 Cr-Commit-Position: refs/heads/master@{#18819} Committed: https://chromium.googlesource.com/external/webrtc/+/a4c113afe1378f00b791971b0ce28f4a06f312ac

Patch Set 1 : Hacky build #

Patch Set 2 : Moduar WebRTC for Objc. #

Patch Set 3 : Cleaner solution. #

Total comments: 1

Patch Set 4 : Reponse to comments. #

Total comments: 9

Patch Set 5 : Simpler solution. #

Patch Set 6 : Rebase. Modified the BUILD. #

Patch Set 7 : Add comments to BUILD.gn #

Total comments: 15

Patch Set 8 : Format #

Unified diffs Side-by-side diffs Delta from patch set Stats (+187 lines, -47 lines) Patch
M webrtc/sdk/BUILD.gn View 1 2 3 4 5 6 7 13 chunks +160 lines, -44 lines 0 comments Download
M webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCPeerConnectionFactory.mm View 1 2 3 4 5 6 7 4 chunks +27 lines, -3 lines 0 comments Download

Messages

Total messages: 54 (38 generated)
Zhi Huang
FYI.
3 years, 6 months ago (2017-06-16 20:17:39 UTC) #6
Zhi Huang
Hi everyone, This is a CL to support building DataChannelOnly WebRTC with Objc wrapper. The ...
3 years, 6 months ago (2017-06-20 08:15:24 UTC) #12
Zach Stein
https://codereview.webrtc.org/2944643002/diff/180001/webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCPeerConnectionFactory+Media.mm File webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCPeerConnectionFactory+Media.mm (right): https://codereview.webrtc.org/2944643002/diff/180001/webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCPeerConnectionFactory+Media.mm#newcode73 webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCPeerConnectionFactory+Media.mm:73: #if defined(HAVE_RTC_AUDIO_) || defined(HAVE_RTC_VIDEO) Would we need this with ...
3 years, 6 months ago (2017-06-20 19:52:36 UTC) #13
tkchin_webrtc
https://codereview.webrtc.org/2944643002/diff/200001/webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCPeerConnection+Media.mm File webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCPeerConnection+Media.mm (right): https://codereview.webrtc.org/2944643002/diff/200001/webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCPeerConnection+Media.mm#newcode15 webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCPeerConnection+Media.mm:15: why does this need to be in its own ...
3 years, 6 months ago (2017-06-20 21:51:24 UTC) #14
Zhi Huang
PTAL. This is a pretty simple change. Only two 2 files and < 200 lines ...
3 years, 6 months ago (2017-06-23 18:14:24 UTC) #18
Taylor Brandstetter
If the goal is to reduce the binary size for "data-only" applications with as simple ...
3 years, 6 months ago (2017-06-25 17:41:56 UTC) #25
Zhi Huang
On 2017/06/25 17:41:56, Taylor Brandstetter wrote: > If the goal is to reduce the binary ...
3 years, 5 months ago (2017-06-26 19:26:43 UTC) #26
Zhi Huang
On 2017/06/26 19:26:43, Zhi Huang wrote: > On 2017/06/25 17:41:56, Taylor Brandstetter wrote: > > ...
3 years, 5 months ago (2017-06-27 21:53:16 UTC) #27
tkchin_webrtc
Chris / Chuck, can one of you take a look as well? The goal here ...
3 years, 5 months ago (2017-06-27 22:12:00 UTC) #29
Taylor Brandstetter
Both the webrtc/sdk/objc owners are OOO now... So should we land with TBR? Or get ...
3 years, 5 months ago (2017-06-28 11:03:31 UTC) #31
tommi
looks good generally, I'd like to format things a little better. git cl format should ...
3 years, 5 months ago (2017-06-28 15:06:45 UTC) #32
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/2944643002/340001
3 years, 5 months ago (2017-06-28 19:46:47 UTC) #46
Zhi Huang
Thanks for the quick review Tommi! https://codereview.webrtc.org/2944643002/diff/300001/webrtc/sdk/BUILD.gn File webrtc/sdk/BUILD.gn (right): https://codereview.webrtc.org/2944643002/diff/300001/webrtc/sdk/BUILD.gn#newcode107 webrtc/sdk/BUILD.gn:107: # build the ...
3 years, 5 months ago (2017-06-28 19:47:10 UTC) #47
commit-bot: I haz the power
Try jobs failed on following builders: linux_tsan2 on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/linux_tsan2/builds/23756)
3 years, 5 months ago (2017-06-28 20:07:55 UTC) #49
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/2944643002/340001
3 years, 5 months ago (2017-06-28 20:41:28 UTC) #51
commit-bot: I haz the power
3 years, 5 months ago (2017-06-28 21:05:54 UTC) #54
Message was sent while issue was closed.
Committed patchset #8 (id:340001) as
https://chromium.googlesource.com/external/webrtc/+/a4c113afe1378f00b791971b0...

Powered by Google App Engine
This is Rietveld 408576698