]> 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 C. Colp <jcolp@sangoma.com>
Tue, 4 Feb 2020 14:18:13 +0000 (10:18 -0400)
commitf4132eec197e3c3f988e0a958d8a97fde9c1733c
tree72e02e659d5ce29614d3d89a548e099db720ea1b
parentd6574cb7c7f17afb0a463dafae81bbdaa1fa79c8
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