]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_rtp_asterisk: Don't assume setting retrans props means to enable.
authorJoshua C. Colp <jcolp@sangoma.com>
Mon, 8 Jun 2020 11:27:53 +0000 (08:27 -0300)
committerJoshua Colp <jcolp@sangoma.com>
Fri, 12 Jun 2020 08:42:17 +0000 (03:42 -0500)
commit3dbbdfa8c3815cedd0c2311c3833624633194aa4
tree056ee04b0c34a29e498f554c056b019af98d99c3
parent9be19243f6162e18201854e229c3dcfea71ae8fa
res_rtp_asterisk: Don't assume setting retrans props means to enable.

The "value" passed in when setting an RTP property determines
whether it should be enabled or disabled. The RTP send and
receive retrans props did not examine this to know if the
buffers should be enabled. They assumed they always should be.

This change makes it so that the "value" passed in is
respected.

ASTERISK-28939

Change-Id: I9244cdbdc5fd065c7f6b02cbfa572bc55c7123dc
res/res_rtp_asterisk.c