]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_rtp_asterisk: Don't produce transport-cc if no packets.
authorJoshua C. Colp <jcolp@sangoma.com>
Tue, 4 Feb 2020 14:18:13 +0000 (10:18 -0400)
committerJoshua Colp <jcolp@sangoma.com>
Tue, 4 Feb 2020 14:19:33 +0000 (08:19 -0600)
commit325e3f81117a6b02102f1718cc0607892961ab15
tree1ab5e9f4add0b986ecadfffa1f48dc5381071583
parent54cd865946a0caa7b4b0b89355d4b9f15a2c9e3f
res_rtp_asterisk: Don't produce transport-cc if no packets.

The code assumed that when the transport-cc feedback
function was called at least one packet will have been
received. In practice this isn't always true, so now
we just reschedule the sending and do nothing.

Change-Id: Iabe7b358704da446fc3b0596b847bff8b8a0da6a
res/res_rtp_asterisk.c