]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res/res_rtp_asterisk: ensure marker bit is correctly set on ssrc change
authorTorrey Searle <torrey@voxbone.com>
Wed, 9 May 2018 13:31:47 +0000 (15:31 +0200)
committerRichard Mudgett <rmudgett@digium.com>
Thu, 24 May 2018 02:17:57 +0000 (20:17 -0600)
commit30da5cfba8c9f7f3661a9755792f4f51b0569b62
tree2c5a1168c1bc14d523da5bc0ed59e0b93ee72952
parent7d9f085cb8f6369904a6ddc0d8619d1e56ea152f
res/res_rtp_asterisk: ensure marker bit is correctly set on ssrc change

Certain race conditions between changing bridge types and DTMF can
cause the current FLAG_NEED_MARKER_BIT to send the marker bit before
the actual first packet of native bridging.

This logic keeps track of the ssrc the bridge is currently sending
and will correctly ensure the marker bit is set if SSRC as changed
from the previous sent packet.

ASTERISK-27845

Change-Id: I01858bd0235f1e5e629e20de71b422b16f55759b
res/res_rtp_asterisk.c