VAD matter

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Markus,

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
conference periodically.
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,
start talking).
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.

Regards,
Nanang


On 08/04/2008, Markus Vechiorno <finalpfc at hotmail.com> wrote:
>
>  Hi,
>
>  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?
>
>  Thanks!!!
>
> ________________________________
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
>  http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
>



[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux