mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
398f7059fc
This DSP library can be used to enhance voice signal for real time communication call. In implements multiple filters like noise reduction, high pass filter, echo cancellation, automatic gain control, etc. The webrtcdsp element can be used along, or with the help of the webrtcechoprobe if echo cancellation is enabled. The echo probe should be placed as close as possible to the audio sink, while the DSP is generally place close to the audio capture. For local testing, one can use an echo loop pipeline like the following: autoaudiosrc ! webrtcdsp ! webrtcechoprobe ! autoaudiosink This pipeline should produce a single echo rather then repeated echo. Those elements works if they are placed in the same top level pipeline. https://bugzilla.gnome.org/show_bug.cgi?id=767800
17 lines
495 B
Makefile
17 lines
495 B
Makefile
plugin_LTLIBRARIES = libgstwebrtcdsp.la
|
|
|
|
libgstwebrtcdsp_la_SOURCES = gstwebrtcdsp.cpp gstwebrtcechoprobe.cpp
|
|
libgstwebrtcdsp_la_CXXFLAGS = \
|
|
-std=c++11 \
|
|
$(GST_CXXFLAGS) \
|
|
$(GST_BASE_CFLAGS) \
|
|
$(GST_PLUGINS_BASE_CFLAGS) \
|
|
$(WEBRTCDSP_CFLAGS)
|
|
libgstwebrtcdsp_la_LIBADD = \
|
|
-lgstaudio-$(GST_API_VERSION) \
|
|
$(GST_LIBS) $(GST_BASE_LIBS) \
|
|
$(GST_PLUGINS_BASE_LIBS) \
|
|
$(WEBRTCDSP_LIBS)
|
|
libgstwebrtcdsp_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
|
|
|
noinst_HEADERS = gstwebrtcdsp.h gstwebrtcechoprobe.h
|