multimediacommsengine/mmcesrv/mmcemediamanager/src/mcesdpsession.cpp
branchRCL_3
changeset 19 3f7c7e6eea8a
parent 13 fb1bbf85a302
child 20 4da1f672912e
equal deleted inserted replaced
18:817c922b90eb 19:3f7c7e6eea8a
   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 			}
       
   193         sdpDocument = iSdpDocument;
   186         sdpDocument = iSdpDocument;
   194         CleanSessionParams( *iSdpDocument );
   187         CleanSessionParams( *iSdpDocument );
   195         }
   188         }
   196 
   189 
   197     EncodeSessionParamsL( aSession, *sdpDocument, aType );
   190     EncodeSessionParamsL( aSession, *sdpDocument, aType );
   652     {       
   645     {       
   653     MCEMM_DEBUG("CMceSdpSession::CreateAnswerL(), Entry ")
   646     MCEMM_DEBUG("CMceSdpSession::CreateAnswerL(), Entry ")
   654     
   647     
   655     TOfferType type = !Backup() ? EFirst : EUpdate;
   648     TOfferType type = !Backup() ? EFirst : EUpdate;
   656     
   649     
   657     if( type == EUpdate && aSession.SecureSession() )
       
   658     	{
       
   659 		aSession.SecureSession()->iLSReadyToBind = ETrue;
       
   660     	}
       
   661     
       
   662     CleanSessionParams( *iSdpDocument );
   650     CleanSessionParams( *iSdpDocument );
   663 
   651 
   664     EncodeSessionParamsL( aSession, *iSdpDocument, type );
   652     EncodeSessionParamsL( aSession, *iSdpDocument, type );
   665     
   653     
   666     EncodeClientAttributesL( aSession, *iSdpDocument );
   654     EncodeClientAttributesL( aSession, *iSdpDocument );