[ 60%] Building CXX object CMakeFiles/mediasoupclient.dir/src/ortc.cpp.o
/Users/banma-0643/repo/webrtc_server_demo/libmediasoupclient/src/ortc.cpp:1603:18: error: no type named 'CodecParameterMap' in namespace 'webrtc::H264'
webrtc::H264::CodecParameterMap aParameters;
~~~~~~~~~~~~~~^
/Users/banma-0643/repo/webrtc_server_demo/libmediasoupclient/src/ortc.cpp:1604:36: error: use of undeclared identifier 'bParameters'; did you mean 'aParameters'?
webrtc::H264::CodecParameterMap bParameters;
^~~~~~~~~~~
aParameters
It seems latest libwebrtc source code removed webrtc::H264 related code? How can i switch libwebrtc’s version to mediasoup-compliant M74?
src % gn gen out/m84 --args='is_debug=false is_component_build=false is_clang=true rtc_include_tests=false rtc_use_h264=true use_rtti=true mac_deployment_target="10.11" use_custom_libcxx=false'
ERROR at //build/config/mac/mac_sdk.gni:106:7: Script returned non-zero exit code.
exec_script("//build/mac/find_sdk.py", find_sdk_args, "list lines")
^----------
Current dir: /Users/chenzx/repo/webrtc/src/out/m84/
Command: python /Users/chenzx/repo/webrtc/src/build/mac/find_sdk.py --print_sdk_path --print_bin_path 10.12
Returned 1.
stderr:
Traceback (most recent call last):
File "/Users/chenzx/repo/webrtc/src/build/mac/find_sdk.py", line 97, in <module>
print(main())
File "/Users/chenzx/repo/webrtc/src/build/mac/find_sdk.py", line 80, in main
raise Exception('No %s+ SDK found' % min_sdk_version)
Exception: No 10.12+ SDK found
See //build/config/sysroot.gni:71:5: whence it was imported.
import("//build/config/mac/mac_sdk.gni")
^--------------------------------------
See //build/config/linux/pkg_config.gni:5:1: whence it was imported.
import("//build/config/sysroot.gni")
^----------------------------------
See //BUILD.gn:15:1: whence it was imported.
import("//build/config/linux/pkg_config.gni")
^-------------------------------------------