Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
cdata.set('HAVE_UDEV', 1)
endif
-webrtc_dep = dependency('webrtc-audio-processing', version : '>= 0.2', required : false)
+webrtc_dep = dependency('webrtc-audio-processing', version : '>= 0.2', required : get_option('webrtc-aec'))
if webrtc_dep.found()
cdata.set('HAVE_WEBRTC', 1)
endif
option('x11',
type : 'feature', value : 'auto',
description : 'Optional X11 support')
+
+# Echo cancellation
+
+option('webrtc-aec',
+ type : 'feature', value : 'auto',
+ description : 'Optional WebRTC-based echo canceller')