mirror of https://github.com/sipwise/rtpengine.git
Closes #2238 On a change of source, a fixed egress SSRC carries the sequence numbering across by re-basing seq_diff on the egress counter (ext_seq). When nothing has been counted under the SSRC yet, that counter is 0 and the re-base restarts the sequence at 1. Under the unchanged SSRC the receiver sees a jump back; with SRTP downstream the replay protection may discard the stream for a long while. Re-base only once something has been counted under the SSRC; until then keep the offset in use. Together with the previous commit an empty counter now only means a leg that has not sent anything yet. Change-Id: I05ef221a5a2db016a24099037b20ec91c9cb884dpull/2241/head
parent
0f8ade7de4
commit
89589b77e4
Loading…
Reference in new issue