mirror of https://github.com/sipwise/rtpengine.git
The `answer` processing empties out the list of codecs and leaves only those that were accepted in the answer. Side effect of this is that if another answer with a different list of codecs comes through, them the codec-accept function is missing the original list of offered codecs and can yield an incorrect result. Fix this by storing a copy of the offered codecs at the end of the `offer` processing, and then restore this list at the beginning of each `answer` message. Change-Id: I3c714e80689f3c5689637cc7d1eb2f203c292a15pull/1897/head
parent
acc30ec0fa
commit
34e007defc
Loading…
Reference in new issue