[ previous ] [ next ] [ threads ]
 To :  =?UTF-8?B?RXRvaWxlIERpw6hzZQ==?= <support@e...>
 From :  Maciek Kaminski <maciejka@t...>
 Subject :  Re: [yate] Silence detection
 Date :  Fri, 01 Sep 2006 10:01:01 +0200
Etoile Dièse napisał(a):
> Hello,
> 
> Is there any way to detect silence. For example, before launching a play or to 
> end a record. Something like an argument "silence=2" and the record ends 
> after 2 seconds of silence, or the play begins after 2 seconds of silence.
> 
> Regards

You may try spandsp library or write you own. In tone detector 
(http://yate.null.ro/mantis/view.php?id=42) you will find code that 
attaches detectors to media pipeline.

mk