2017-03-28 01:15:32 +00:00
|
|
|
webrtc_sources = [
|
|
|
|
'gstwebrtcdsp.cpp',
|
2021-02-25 07:18:54 +00:00
|
|
|
'gstwebrtcechoprobe.cpp',
|
|
|
|
'gstwebrtcdspplugin.cpp'
|
2017-03-28 01:15:32 +00:00
|
|
|
]
|
|
|
|
|
2020-12-02 23:31:44 +00:00
|
|
|
webrtc_dep = dependency('webrtc-audio-processing-1', version : ['>= 1.0'],
|
2018-07-27 13:29:23 +00:00
|
|
|
required : get_option('webrtcdsp'))
|
2017-03-28 01:15:32 +00:00
|
|
|
|
2023-05-30 05:31:47 +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],
|
2023-05-30 05:31:47 +00:00
|
|
|
dependencies : [gstbase_dep, gstaudio_dep, gstbadaudio_dep, webrtc_dep],
|
2017-03-28 01:15:32 +00:00
|
|
|
install : true,
|
|
|
|
install_dir : plugins_install_dir,
|
2020-12-02 23:31:44 +00:00
|
|
|
override_options : ['cpp_std=c++17'],
|
2017-03-28 01:15:32 +00:00
|
|
|
)
|
2018-10-22 09:30:45 +00:00
|
|
|
plugins += [gstwebrtcdsp]
|
2017-03-28 01:15:32 +00:00
|
|
|
endif
|