]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res/res_rtp_asterisk: remove debug traces generated by an empty frame
authorneutrino88 <emmanuel.buu@ives.fr>
Tue, 21 Aug 2018 12:59:08 +0000 (08:59 -0400)
committerRichard Mudgett <rmudgett@digium.com>
Mon, 27 Aug 2018 17:02:43 +0000 (12:02 -0500)
commitb4e1a2c8fe12a4a483b9220606816c535888ed45
treee4261ebce0221dd432b43cd6adc71f6225628ff5
parentbbdaa6d31caa8ad17816269916601ec81235ecba
res/res_rtp_asterisk: remove debug traces generated by an empty frame

The realtime text timer pops regularly and sends text frames even if
the buffer is empty. This causes a lot of unecessary debug logging.

* Made red_write() test if we need to send a frame before calling
ast_rtp_write()

ASTERISK-28002
Reported by: Emmanuel BUU
Tested by: Emmanuel BUU

Change-Id: Icf81310c3b8080b615a42060afc02ab41f9523dd
res/res_rtp_asterisk.c