[Freeswitch-users] How to remove recorded files with silence
mike at jerris.com
Mon May 21 20:15:30 UTC 2018
I think it would be a cool feature to add in to the api, and we can do it much cheaper compute wise as we go as we are already doing the silence calculations anyways, it just doesn’t exist today. Patches welcome.
> On May 21, 2018, at 12:39 PM, Stanislav Sinyagin <ssinyagin at gmail.com> wrote:
> I would do this outside of freeswitch with nice priority. I guess "sox" should be able to do the job. This will preserve CPU cycles for important real-time work.
> On Fri, May 18, 2018, 16:58 Michael Jerris <mike at jerris.com <mailto:mike at jerris.com>> wrote:
> That exact feature is not there, but you might be able to do some math of length against silence hits to figure out if its all silence or not. Take a look at how silence_hits are figured out in switch_ivr_record_file to understand the math you have to do to length.
> > On May 17, 2018, at 2:59 AM, Eugene Prokopiev <enp at itx.ru <mailto:enp at itx.ru>> wrote:
> > Hi,
> > Is it possible to automatically remove recorded files which contains
> > nothing except silence? Can mod_dptools:record do this just after
> > recoding attempt?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the FreeSWITCH-users