[pjsip] VAD matter
nanang at pjsip.org
Tue Apr 8 06:38:38 EDT 2008
Assuming you are talking about microphone silence detection,
currently there is no callback/trigger mechanism for silence detection.
However, you have some alternatives to do this:
1. Monitor the rx_level of sound port (normally slot 0) in the
See pjmedia_conf_get_signal_level() API.
2. Implement a pjmedia port that utilize existing silence detector to
do callback when such conditions are reached (e.g: start silence,
Then, this port can be stacked to any port you would like to monitor
(in this case, sound port). The port connection will be about:
conference bridge <--> silencedet port <--> sound port.
We will be glad if somebody would implement the second alternative and
share the implementation to us.
On 08/04/2008, Markus Vechiorno <finalpfc at hotmail.com> wrote:
> I need to know when a silence is detected.
> What I need is to do some actions when a silence is detected. Imagine this situation:
> I am running pjsua and I command Q. Before, I had included some functionality dor this command, but I need this functionallity to start when the silence is detected.
> I have thought that maybe pjsip have a simple solution for this matter (a trigger or smth similar).
> Any idea?
Todo ruedas: información práctica y todo el glamour del mundo del
motor. MSN Estilo y Tendencias
> Visit our blog: http://blog.pjsip.org
> pjsip mailing list
> pjsip at lists.pjsip.org
More information about the pjsip