Index: webrtc/build/common.gypi |
diff --git a/webrtc/build/common.gypi b/webrtc/build/common.gypi |
index 5caa6cc10c84d8d0206ba667606b1ad3dd7dfbf1..c656307bd66e847bd5fe17f4791fc23f2dbf7b48 100644 |
--- a/webrtc/build/common.gypi |
+++ b/webrtc/build/common.gypi |
@@ -125,9 +125,14 @@ |
'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. |
+ # Enabling this may break interop with Android clients that support H.264. |
'use_objc_h264%': 0, |
+ # Enable this to build OpenH264 SW H.264 encoder/decoder. |
+ # CHECK THE OPENH264 LICENCE BEFORE BUILDING, YOU MAY LIABLE TO PAY |
+ # LICENSING. |
+ 'use_openh264%': 0, |
+ |
'conditions': [ |
['build_with_chromium==1', { |
# Exclude pulse audio on Chromium since its prerequisites don't require |
@@ -342,6 +347,11 @@ |
'WEBRTC_OBJC_H264', |
], |
}], |
+ ['use_openh264==1', { |
+ 'defines': [ |
+ 'WEBRTC_OPENH264', |
+ ], |
+ }], |
['OS=="linux"', { |
'defines': [ |
'WEBRTC_LINUX', |