Index: webrtc/build/common.gypi |
diff --git a/webrtc/build/common.gypi b/webrtc/build/common.gypi |
index 0ab88c63d4e029d7fad16fd387da4a8c4cc7b3c3..9335d35e0696c6346a2b315bf09950a50abbd9a9 100644 |
--- a/webrtc/build/common.gypi |
+++ b/webrtc/build/common.gypi |
@@ -124,6 +124,10 @@ |
# Determines whether NEON code will be built. |
'build_with_neon%': 0, |
+ # Enable this to use HW H.264 encoder/decoder on iOS/Mac PeerConnections. |
+ # Enabling this may break interop with Android clients that support H264. |
+ 'use_objc_h264%': 0, |
+ |
'conditions': [ |
['build_with_chromium==1', { |
# Exclude pulse audio on Chromium since its prerequisites don't require |
@@ -333,6 +337,11 @@ |
'WEBRTC_IOS', |
], |
}], |
+ ['OS=="ios" and use_objc_h264==1', { |
+ 'defines': [ |
+ 'WEBRTC_OBJC_H264', |
+ ], |
+ }], |
['OS=="linux"', { |
'defines': [ |
'WEBRTC_LINUX', |