multimediacommsengine/mmcesrv/mmcemediamanager/src/mcesrvstream.cpp
branchRCL_3
changeset 8 2a28ef775f15
parent 0 1bce908db942
equal deleted inserted replaced
7:267e1b1adf0c 8:2a28ef775f15
   896     if ( Codec().MccRequireSignalling( *this, aMccCurentCodec, aMccUpdateCodec ) )
   896     if ( Codec().MccRequireSignalling( *this, aMccCurentCodec, aMccUpdateCodec ) )
   897         {
   897         {
   898         MCEMM_DEBUG("CMceSrvStream::RequireSignalling(): codec requires signalling");
   898         MCEMM_DEBUG("CMceSrvStream::RequireSignalling(): codec requires signalling");
   899         action = KMceRequiresSignalling;
   899         action = KMceRequiresSignalling;
   900         }
   900         }
   901     else if ( LocalMediaPort() != aCurrent.LocalMediaPort() ||
   901     else if ( LocalMediaPort() != aCurrent.LocalMediaPort() )
   902               Data().RemoteMediaPortChanged( aCurrent.Data().RemoteMediaPort() ) )
       
   903     //local port has changed => needs new media session & signaling
   902     //local port has changed => needs new media session & signaling
   904         {
   903         {
   905         MCEMM_DEBUG("CMceSrvStream::RequireSignalling(): local port changed. requires signalling");
   904         MCEMM_DEBUG("CMceSrvStream::RequireSignalling(): local port changed. requires signalling");
   906         action = KMceRequiresSignalling;
   905         action = KMceRequiresSignalling;
   907         }
   906         }
       
   907     else if ( Data().RemoteMediaPortChanged( aCurrent.Data().RemoteMediaPort() ) )
       
   908     	{
       
   909     	MCEMM_DEBUG("CMceSrvStream::RequireSignalling(): Remote port changed. requires signalling");
       
   910     	action = KMceRequiresSipSignallingOnly;
       
   911     	}
   908         
   912         
   909     else if ( Data().RemoteRTCPAddressChanged(aCurrent.Data().iRemoteRtcpPort, 
   913     else if ( Data().RemoteRTCPAddressChanged(aCurrent.Data().iRemoteRtcpPort, 
   910     		 	aCurrent.Data().iRemoteRtcpAddress))
   914     		 	aCurrent.Data().iRemoteRtcpAddress))
   911     		  
   915     		  
   912     	{
   916     	{
   913     	MCEMM_DEBUG("CMceSrvStream::RequireSignalling(): Remote Rtcp Port changed, requires signalling");
   917     	MCEMM_DEBUG("CMceSrvStream::RequireSignalling(): Remote Rtcp Port changed, requires signalling");
   914         action = KMceRequiresSignalling;
   918         action = KMceRequiresSipSignallingOnly;
   915     	}
   919     	}
   916         
   920         
   917     else if ( Data().iIsEnabled != aCurrent.Data().iIsEnabled )
   921     else if ( Data().iIsEnabled != aCurrent.Data().iIsEnabled )
   918     //hold or resume => just SIP signaling
   922     //hold or resume => just SIP signaling
   919         {
   923         {