mirror of https://github.com/sipwise/rtpengine.git
stats->ext_seq has been the SRTP receive index since srtp_index moved into shm (mr26.3.108c7f5853d). The transcode sequencer overwrote it after every emitted packet with its own roc<<16|seq, which lags the received packets and, whenever the sequencer emits a late or replayed packet with a lower sequence number, carries a roc that was incremented without a real wrap-around. packet_index() then estimated the wrong index, and once the sender's real roc reached 1 none of the fallback guesses matched, so every packet of the stream failed authentication until the call ended. packet_index() already maintains the index for every received packet, so drop the write. Also make the sequencer's own roc increment only on a forward wrap-around, never on a backwards step. Closes #2221 Change-Id: Ia38bf8cbc63dd3435717927f1adfd81ac94ea347 (cherry picked from commit956d7add09) (cherry picked from commitff56b32f81)
parent
f860b7c05c
commit
f14f94d617
Loading…
Reference in new issue