gstreamer/ext/webrtcdsp
Nicolas Dufresne 71c9cdeff4 webrtcdsp: Rewrite echo data synchronization
The previous code would run out of sync if there was packet lost
or clock skews. When that happened, the echo cancellation feature would
completely stop working. As this is crucial for audio calls, this patch
re-implement synchronization completely.

Instead of letting it drift until next discont, we now synchronize
against the record data at every iteration. This way we simply never
let the stream drift for longer then 10ms period. We also shorter the
delay by using the latency up the probe (basically excluding the sink
latency. This is a decent delay to avoid starving in the probe queue.

https://bugzilla.gnome.org/show_bug.cgi?id=768009
2016-06-30 09:27:03 -04:00
..
gstwebrtcdsp.cpp webrtcdsp: Rewrite echo data synchronization 2016-06-30 09:27:03 -04:00
gstwebrtcdsp.h webrtcdsp: Add WebRTC Audio Processing support 2016-06-21 13:46:00 -04:00
gstwebrtcechoprobe.cpp webrtcdsp: Rewrite echo data synchronization 2016-06-30 09:27:03 -04:00
gstwebrtcechoprobe.h webrtcdsp: Rewrite echo data synchronization 2016-06-30 09:27:03 -04:00
Makefile.am webrtcdsp: Add WebRTC Audio Processing support 2016-06-21 13:46:00 -04:00