< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index  

RE: [reSIProcate] sdp bug + why mCurrentLocalSdp, mProposedLocalSdp, mCurrentRemoteSdp and mProposedRemoteSdp


Good find.  I committed a fix.

 

Thanks!

 

Proposed is an offer that hasn’t been accepted yet.  When answered – the proposed sdp is copied to the Current sdp.

 


From: resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxx [mailto:resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Micky Kaufmann
Sent: Sunday, September 25, 2005 6:29 AM
To: resiprocate-devel@xxxxxxxxxxxxxxxxxxx
Subject: [reSIProcate] sdp bug + why mCurrentLocalSdp, mProposedLocalSdp,mCurrentRemoteSdp and mProposedRemoteSdp

 

Hi,

 

First of all I’m pretty sure there’s a bug in ServerInviteSession::sendProvisional :

         .

         .

         .

         if (mCurrentLocalSdp.get()) // early media

         {

            setSdp(m1xx, mProposedLocalSdp.get());

         }

         .

         .

         .

 

The variable checked in the if clause isn’t the one sent to setSdp!!!

 

I think mCurrentLocalSdp is the correct variable to send to setSdp.

However, I don’t completely understand the idea behind ‘Current’ and ‘Proposed’ in mCurrentLocalSdp, mProposedLocalSdp, mCurrentRemoteSdp and mProposedRemoteSdp variables.

Is ‘Proposed’ always an offer and ‘Current’ always an answer? (In the case of offer/answer)

 

 

Micky Kaufmann