multimediacommsengine/mmcesrv/mmcemediamanager/src/mcesdpsession.cpp
branchRCL_3
changeset 46 4da1f672912e
parent 45 3f7c7e6eea8a
equal deleted inserted replaced
45:3f7c7e6eea8a 46:4da1f672912e
   181         {
   181         {
   182         sdpDocument = CSdpDocument::NewLC();
   182         sdpDocument = CSdpDocument::NewLC();
   183         }
   183         }
   184     else
   184     else
   185         {
   185         {
       
   186 		if( aSession.SecureSession() )
       
   187 			{
       
   188 			if( aSession.SecureSession()->iKeyNeedUpdated )
       
   189 				{
       
   190 			    aSession.SecureSession()->iKeyNeedUpdated = EFalse;
       
   191 				}
       
   192 			}
   186         sdpDocument = iSdpDocument;
   193         sdpDocument = iSdpDocument;
   187         CleanSessionParams( *iSdpDocument );
   194         CleanSessionParams( *iSdpDocument );
   188         }
   195         }
   189 
   196 
   190     EncodeSessionParamsL( aSession, *sdpDocument, aType );
   197     EncodeSessionParamsL( aSession, *sdpDocument, aType );
   645     {       
   652     {       
   646     MCEMM_DEBUG("CMceSdpSession::CreateAnswerL(), Entry ")
   653     MCEMM_DEBUG("CMceSdpSession::CreateAnswerL(), Entry ")
   647     
   654     
   648     TOfferType type = !Backup() ? EFirst : EUpdate;
   655     TOfferType type = !Backup() ? EFirst : EUpdate;
   649     
   656     
       
   657     if( type == EUpdate && aSession.SecureSession() )
       
   658     	{
       
   659 		aSession.SecureSession()->iLSReadyToBind = ETrue;
       
   660     	}
       
   661     
   650     CleanSessionParams( *iSdpDocument );
   662     CleanSessionParams( *iSdpDocument );
   651 
   663 
   652     EncodeSessionParamsL( aSession, *iSdpDocument, type );
   664     EncodeSessionParamsL( aSession, *iSdpDocument, type );
   653     
   665     
   654     EncodeClientAttributesL( aSession, *iSdpDocument );
   666     EncodeClientAttributesL( aSession, *iSdpDocument );