How to configure webrtc echo cancellation in Windows 10?

Nicolas Dufresne nicolas at ndufresne.ca
Mon Mar 22 18:44:36 UTC 2021


Le lundi 22 mars 2021 à 04:21 -0500, Maksim Danilov a écrit :
> Good afternoon. I'm trying to make echo cancellation in this pipeline:
> gst-launch-1.0.exe rtpsession name=s udpsrc port=8078
> caps="application/x-rtp, media=audio, clock-rate=8000, encoding-name=PCMU,
> payload=0" ! s.recv_rtp_sink s.recv_rtp_src ! rtpjitterbuffer latency=100 !
> rtppcmudepay ! mulawdec ! audioresample ! audioconvert ! audio/x-raw,
> rate=48000, format=S16LE ! webrtcechoprobe ! audioconvert ! wasapisink

I'm not a windows expert, but perhaps you should set "low-latency" property on
both src/sink in order to ensure you have reliable latency,

> buffer-time=30000 wasapisrc ! audioresample ! audioconvert ! audio/x-raw,
> rate=48000, format=S16LE ! webrtcdsp ! audioresample ! audioconvert !

Assuming you capture/playback latency (ignoring network latency) is under 400ms,
you may want to give a try to delay-agnostic mode.

> mulawenc ! rtppcmupay ! s.send_rtp_sink s.send_rtp_src ! udpsink
> host=10.8.0.218 port=30012
> Everyting is good, but echo cancel is not working at all. I read multiple
> mailing list, however can't make through. 
> Can someone help me? Do you how some research on how to configure latency
> and buffer-time?
> 
> 
> 
> --
> 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