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 { |