Travis Cross b61800cbf2 Send silent packets when idle with SRTP
Originally we did the same thing with SRTP that we do without SRTP,
which is to simply not send packets when e.g. sleep is called.

At commits d63323977fa611b141441f12af9a94ec19b5f829 and
5259814aee16ede974456490a79e8a98de1d6d2e we enabled sending silence
packets with comfort noise when SRTP is active.  We appear to have
done this for interop purposes; many devices can't handle gaps in the
stream of SRTP packets.

But our current comfort noise implementation doesn't take the codec
rate into account (FS-6291), so on 16kHz codecs the constant we chose
created an annoying level of static between sound file playback.

With this commit we preserve the sending of SRTP packets during idle
periods, but make those packets completely silent.

Thanks-to: Anthony Minessale <anthm@freeswitch.org>

FS-5053 --resolve
2014-02-28 23:14:42 +00:00
2014-02-21 15:49:33 -06:00
2014-02-09 13:41:44 -06:00
2009-02-13 23:33:36 +00:00
2014-02-12 15:25:54 -06:00
2014-02-28 23:30:51 +05:00
2014-02-12 15:25:54 -06:00
2014-02-19 13:05:57 -06:00
2013-06-07 07:26:13 +00:00
2010-04-01 21:00:45 -04:00
2012-05-28 16:35:00 +00:00
2013-07-27 03:39:38 +00:00
2013-02-11 16:42:10 +00:00
2013-09-18 05:17:59 +05:00
2013-09-18 05:17:59 +05:00
2009-10-02 14:44:16 +00:00
2014-02-21 15:12:45 -06:00
2012-05-15 10:20:52 -05:00
2010-01-23 20:19:18 +00:00
2009-11-18 19:42:00 +00:00
2013-07-27 22:13:08 -05:00
2014-01-22 08:43:57 -06:00
2013-12-16 16:41:13 -06:00
2013-06-07 05:17:05 +00:00
2013-12-23 22:43:21 +05:00
Description
FreeSWITCH is a Software Defined Telecom Stack enabling the digital transformation from proprietary telecom switches to a versatile software implementation that runs on any commodity hardware. From a Raspberry PI to a multi-core server, FreeSWITCH can unl
Multiple Licenses 288 MiB
Languages
C 64.4%
C++ 21.8%
JavaScript 4.7%
Assembly 2%
Makefile 1%
Other 5.4%