Skip to content

Commit f09aba0

Browse files
authored
Update CMakeLists.txt
Build with h264.
1 parent e02cfa4 commit f09aba0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webrtc-jni/src/main/cpp/dependencies/webrtc/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ if (PATCHES)
187187
endif()
188188

189189
message(STATUS "WebRTC: generate")
190-
set(COMPILE_ARGS "is_debug=false target_cpu=\"${TARGET_CPU}\" rtc_include_tests=false use_rtti=true use_custom_libcxx=false symbol_level=0")
190+
set(COMPILE_ARGS "is_debug=false target_cpu=\"${TARGET_CPU}\" rtc_include_tests=false use_rtti=true use_custom_libcxx=false symbol_level=0 rtc_use_h264=true")
191191
execute_command(
192192
COMMAND gn gen ${WEBRTC_BUILD} --args=${COMPILE_ARGS}
193193
WORKING_DIRECTORY "${WEBRTC_SRC}"

0 commit comments

Comments
 (0)