multimediacommsengine/mmcesrv/mmcemediamanager/src/mcemediamanager.cpp
branchRCL_3
changeset 20 4da1f672912e
parent 19 3f7c7e6eea8a
equal deleted inserted replaced
19:3f7c7e6eea8a 20:4da1f672912e
   305     MCEMM_DEBUG_STATE( "CMceMediaManager::UpdateL(): current state", 
   305     MCEMM_DEBUG_STATE( "CMceMediaManager::UpdateL(): current state", 
   306                        negotationStateId );
   306                        negotationStateId );
   307     aSession.NegotiationState().UpdateL();
   307     aSession.NegotiationState().UpdateL();
   308     status = !aSession.NegotiationState().CallbackAllowed() ? 
   308     status = !aSession.NegotiationState().CallbackAllowed() ? 
   309              KMceReady : KMceAsync;
   309              KMceReady : KMceAsync;
       
   310     if ( aSession.SecureSession() && negotationStateId ==
       
   311     	 KMceOfferingMedia && aSession.SecureSession()->iLSReadyToBind )
       
   312     	{
       
   313         aSession.SecureSession()->BindStreamCrypto();
       
   314     	}
   310     MCEMM_DEBUG("CMceMediaManager::UpdateL(), Exit ");
   315     MCEMM_DEBUG("CMceMediaManager::UpdateL(), Exit ");
   311     return status;
   316     return status;
   312     }
   317     }
   313               
   318               
   314 // ---------------------------------------------------------
   319 // ---------------------------------------------------------