webrtcdsp: Propagate VAD to audio level meta
authorPhilippe Normand <philn@igalia.com>
Sun, 18 Apr 2021 12:49:59 +0000 (13:49 +0100)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Mon, 19 Apr 2021 15:51:32 +0000 (15:51 +0000)
commit8b1051cdea243e5d5079c4218067d9e7a585385b
tree99d56f74858e7ee64f1359f63cbb1885b3396d82
parentc2635c154de7bc88967c0155f322d471ed97938c
webrtcdsp: Propagate VAD to audio level meta

Whenever the voice activity changed on the stream, update or create an
AudioLevelMeta and associate it to the corresponding buffer.

Fixes #1073

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2170>
ext/webrtcdsp/gstwebrtcdsp.cpp