[reSIProcate] InviteSession Offer/Answer Storing

David Baker david.baker at openmarket.com
Tue Sep 25 13:15:34 CDT 2012


Hi,

I've just been looking at and trying to understand how InviteSession.cxx 
stores the OfferAnswer data that flows through it 
(mCurrentLocalOfferAnswer / mCurrentRemoteOfferAnswer etc). In 
particular, in dispatchSentReinvite in the On2xxOffer case, it calls 
setCurrentLocalOfferAnswer(). If I understand correctly, should this not 
be setting the remote OfferAnswer rather than the local, since the 
OfferAnswer data is coming from the other party in this case?

The symptom of this (and my reason for looking) is that using reinvites 
has caused getRemoteSdp to return SDP sent in the original offer/answer 
exchange rather than the latest SDP in use that's been updated by a 
reinvite.



David



More information about the resiprocate-devel mailing list