]> 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:18:32 +0000 (20:18 -0600)
commitc5d2bf05f4e29c57e332a6481433838db04d7908
treed94e2a014a6190432892348b723dcda64871ad9e
parent25764691b020bf0194a5a57ee08553ab8117982c
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