[EXT] Re: How to configure webrtc echo cancellation in Windows 10?

Nicolas Dufresne nicolas at ndufresne.ca
Fri Aug 20 20:03:46 UTC 2021


Le vendredi 20 août 2021 à 11:51 +0000, Soebirk, Thorsten via gstreamer-devel a
écrit :
> Did you get this to work? I am facing a perhaps similar issue with a webrtc
> pipeline on Windows, where it seems like echo cancellation simply has no
> effect
> at all. In my pipeline I use directsoundsrc ! webrtcdsp ! ... ultimately going
> to webrtcbin and on the webrtc receiving side ... ! webrtcechoprobe !
> autoaudiosink buffer-time=40000 low-latency=true.

Try wasapisrc/sink with the low-latency=true property.

> 
> I have tried different values for buffer-time and low-latency, but it seems
> that
> regardless of what I do there is no audible echo cancellation at the other end
> of the webrtc connection.
> 
> I would appreciate any further advice.
> 
> Best regards 
> 
> Thorsten 
> 
> -----Original Message-----
> From: gstreamer-devel <gstreamer-devel-bounces at lists.freedesktop.org> On
> Behalf
> Of Maksim Danilov
> Sent: 24. marts 2021 07:49
> To: gstreamer-devel at lists.freedesktop.org
> Subject: [EXT] Re: How to configure webrtc echo cancellation in Windows 10?
> 
> EXTERNAL MAIL: 
> 
> Thanks for the answer. I gave up on configuring AEC over rtp and came up with
> simple example that look like:
> wasapisrc ! audioconvert ! audio/x-raw, format=S16LE, rate=48000 !
> audioconvert ! webrtcdsp ! webrtcechoprobe ! audioconvert ! wasapisink. 
> It gives no result (in linux everything work as expected). 
> I tried you suggestion with low-latency mode, however got messages with
> 'invalid
> latency add some queues to the pipeline'. Even if I add queue to pipeline. I
> can't hear my self at all.
> That pipeline gives the same result: wasapisrc low-latency=true ! <queue> !
> wasapisink low-latency=true.
> So I think the problem is in plugin. Probably it add some additional latency
> in
> implementation, cause it doesn't act like real time.
> I inspected the code of plugin and it looks like a very fast implementation of
> api under Windows. Moreover it can't even capture specific caps of src/sink
> and
> uses shared format F32LE (maybe it is resampling and converting audio in core
> and we get some latency through).
> 
> 
> 
> --
> Sent from:
> https://urldefense.com/v3/__http://gstreamer-devel.966125.n4.nabble.com/__;!!B0kNdk3R__Efj5F6ERhD!tlRfLYhjrcUeKRO_m1dp9p_NlMnuA49CZbs_9QlxDV1lxxbTB63mpcy-t0zv4zmqxf37OPehiA$
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://urldefense.com/v3/__https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel__;!!B0kNdk3R__Efj5F6ERhD!tlRfLYhjrcUeKRO_m1dp9p_NlMnuA49CZbs_9QlxDV1lxxbTB63mpcy-t0zv4zmqxf32AanurA$
> 
> 
> ?




More information about the gstreamer-devel mailing list