webrtcdsp voice detection
Nicolas Dufresne
nicolas at ndufresne.ca
Fri Apr 8 13:31:23 UTC 2022
Le vendredi 08 avril 2022 à 11:10 +0000, Dejan Cotra via gstreamer-devel a
écrit :
[...]
>
> I know that I can retrieve informations from webrtcdsp voice detection via bus
> messages. I receive GST_MESSAGE_ELEMENT message from webrtcdsp element with
> payload like this:
>
> voice-activity, stream-time=(guint64)2640000000, stream-has-
> voice=(boolean)false;
>
> Question is can I retrieve informations about voice detection in some other
> way. Like metainfo of each sample that I pull from appsink element? Or
> something similar?
It also sets the voice_activity boolean in GstAudioLevelMeta (along with the
audio amplitude). This is per buffers, not per samples. So you get feedback
every 10ms more or less.
Nicolas
More information about the gstreamer-devel
mailing list