multimediacommsengine/mmcesrv/mmceserver/src/mcesipsession.cpp
branchRCL_3
changeset 7 5e57de868bc0
parent 3 513a8b745b2f
child 10 267e1b1adf0c
equal deleted inserted replaced
3:513a8b745b2f 7:5e57de868bc0
  2633 		}
  2633 		}
  2634 	else
  2634 	else
  2635 		{
  2635 		{
  2636 		ActiveBody().SdpSession().UpdateSecureStreamL( ActiveBody() );
  2636 		ActiveBody().SdpSession().UpdateSecureStreamL( ActiveBody() );
  2637 		Manager().MediaManager().UpDateStreamStateL( *iBody, ActiveBody() );
  2637 		Manager().MediaManager().UpDateStreamStateL( *iBody, ActiveBody() );
       
  2638 		__ASSERT_ALWAYS( iFirstOffer, User::Leave( KErrArgument ) );
       
  2639 		ActiveBody().SdpSession().iSdpDocument = iFirstOffer;
  2638 		}
  2640 		}
  2639 	MCESRV_DEBUG("CMceSipSession::ForceUpdateStream, Exit");    
  2641 	MCESRV_DEBUG("CMceSipSession::ForceUpdateStream, Exit");    
  2640 	}
  2642 	}
  2641 // -----------------------------------------------------------------------------
  2643 // -----------------------------------------------------------------------------
  2642 // CMceSipSession::ResetCurrentDialog
  2644 // CMceSipSession::ResetCurrentDialog
  2647 	if( iBodyBucket.Count() == 0 )
  2649 	if( iBodyBucket.Count() == 0 )
  2648 		{
  2650 		{
  2649 		iCurrentDialog = iDialog;
  2651 		iCurrentDialog = iDialog;
  2650 		}
  2652 		}
  2651 	}
  2653 	}
       
  2654 void CMceSipSession::SetFirstOffer()
       
  2655 	{	
       
  2656 	if( iBodyBucket.Count() == 0 )
       
  2657 		{
       
  2658 		CSdpDocument* clonedOffer = NULL;
       
  2659 		TRAP_IGNORE( ( clonedOffer = iOffer->CloneL() ) );
       
  2660 		iFirstOffer = clonedOffer;
       
  2661 		}
       
  2662 	}
  2652 //  End of File
  2663 //  End of File