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

Unified Diff: webrtc/build/common.gypi

Issue 1187573004: iOS HW H264 support. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Fix build errors Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/build/common.gypi
diff --git a/webrtc/build/common.gypi b/webrtc/build/common.gypi
index 26b0de367a806f56f050ad386a50711e77c51b20..df839a6787169051f375e7646dd7945abfa342cd 100644
--- a/webrtc/build/common.gypi
+++ b/webrtc/build/common.gypi
@@ -121,6 +121,10 @@
# enable schannel on windows.
'use_legacy_ssl_defaults%': 0,
+ # Enable this to use HW H.264 encoder/decoder on iOS PeerConnections.
+ # Enabling this may break interop with Android clients that support H264.
+ 'rtc_use_objc_h264%': 0,
kjellander_webrtc 2015/06/25 07:16:03 Traditionally we've only used the 'rtc_' prefix fo
tkchin_webrtc 2015/06/25 18:13:53 Done.
+
'conditions': [
['build_with_chromium==1', {
# Exclude pulse audio on Chromium since its prerequisites don't require
@@ -327,6 +331,11 @@
'WEBRTC_IOS',
],
}],
+ ['OS=="ios" and rtc_use_objc_h264==1', {
+ 'defines': [
+ 'WEBRTC_OBJC_H264',
+ ],
+ }],
['OS=="linux"', {
'defines': [
'WEBRTC_LINUX',
« no previous file with comments | « webrtc/BUILD.gn ('k') | webrtc/build/webrtc.gni » ('j') | webrtc/modules/video_coding/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698