2017-03-28 01:15:32 +00:00
|
|
|
webrtc_sources = [
|
|
|
|
'gstwebrtcdsp.cpp',
|
|
|
|
'gstwebrtcechoprobe.cpp'
|
|
|
|
]
|
|
|
|
|
2018-07-27 13:29:23 +00:00
|
|
|
webrtc_dep = dependency('webrtc-audio-processing', version : ['>= 0.2', '< 0.4'],
|
|
|
|
required : get_option('webrtcdsp'))
|
2017-03-28 01:15:32 +00:00
|
|
|
|
2017-05-09 17:16:50 +00:00
|
|
|
if webrtc_dep.found()
|
2017-03-28 01:15:32 +00:00
|
|
|
gstwebrtcdsp = library('gstwebrtcdsp',
|
|
|
|
webrtc_sources,
|
|
|
|
cpp_args : gst_plugins_bad_args,
|
|
|
|
link_args : noseh_link_args,
|
|
|
|
include_directories : [configinc],
|
|
|
|
dependencies : [gstbase_dep, gstaudio_dep, webrtc_dep],
|
|
|
|
install : true,
|
|
|
|
install_dir : plugins_install_dir,
|
|
|
|
)
|
2018-04-24 18:05:30 +00:00
|
|
|
pkgconfig.generate(gstwebrtcdsp, install_dir : plugins_pkgconfig_install_dir)
|
2017-03-28 01:15:32 +00:00
|
|
|
endif
|