Error resolution or example for webrtcdsp with webrtcechoprobe

Nicolas Dufresne nicolas at ndufresne.ca
Mon Mar 25 16:17:31 UTC 2019


Le lundi 25 mars 2019 à 10:36 -0500, ankit a écrit :
> Hello Nicolas,
> 
> Thanks for the answer.
> 
> For the question related to C++ implementation
> I am able to resolve the issue.
> I have not defined the "probe" property in webrtcdsp element, which was the
> main cause of the issue.
> 
> Example:
>     dsp = gst_element_factory_make("webrtcdsp","dsp");
>     dspechoprobe =
> gst_element_factory_make("webrtcechoprobe","dspechoprobe");
>     g_object_set(dsp, "probe", "dspechoprobe", NULL);

Indeed, if you give your probe a custom name you have to tell the dsp
element about it. If you had set the probe name to NULL, then the
default would have worked.

> 
> Hope this will help others.
> 
> Now about echo cancellation:
> I have tried with your suggestions with 80ms & 70ms but still I am facing
> echo issue.
> However noise cancellation works with the same.
> Do you have any suggestion for this?

Maybe your ALSA driver isn't exactly of the quality you need ? Maybe
you didn't really configure 80ms the right way ? Please share a little
more information and we may be able to help.

I can suggest trying the experimental delay-agnostic feature, but
without context, I'm proposing you some plaster which may lead to sub-
optimal performance. To validate your latency, I strongly recommend
using audiolatency element.

It works better when you wire the signal back in a close loop, but
should also work with a mic facing speaker. You simply run this, and it
will measure the roundtrip latency for you (with the appropriate setup
added of course).

  alsasrc ! audiolatency ! alsasink buffer-time=80000

> 
> Regards,
> Ankit
> 
> 
> 
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



More information about the gstreamer-devel mailing list