multimediacommsengine/mmcesrv/mmcemediamanager/src/mcemediamanager.cpp
branchRCL_3
changeset 25 fb1bbf85a302
parent 18 91f50911ea81
child 45 3f7c7e6eea8a
equal deleted inserted replaced
18:91f50911ea81 25:fb1bbf85a302
   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( status==KMceReady && aSession.SecureSession() 
   310     if ( aSession.SecureSession() && negotationStateId ==
   311             && negotationStateId!=KMceMediaIdle )
   311     	 KMceOfferingMedia && aSession.SecureSession()->iLSReadyToBind )
   312     	{
   312     	{
   313         aSession.SecureSession()->BindStreamCrypto();
   313         aSession.SecureSession()->BindStreamCrypto();
   314     	}
   314     	}
   315     MCEMM_DEBUG("CMceMediaManager::UpdateL(), Exit ");
   315     MCEMM_DEBUG("CMceMediaManager::UpdateL(), Exit ");
   316     return status;
   316     return status;