sipvoipprovider/src/svpcontroller.cpp
branchRCL_3
changeset 20 65a3ef1d5bd0
parent 16 df4dfb214df5
--- a/sipvoipprovider/src/svpcontroller.cpp	Mon Jun 21 15:29:21 2010 +0300
+++ b/sipvoipprovider/src/svpcontroller.cpp	Thu Aug 19 09:45:22 2010 +0300
@@ -1401,7 +1401,7 @@
         
         // disable rtp source and speaker sink so that audio is not on
         // before session is up signalling-wise
-        for ( TInt i = 0; i < streams.Count(); i++ )
+        for ( TInt i = 0; i < streams.Count(); )
             {
             SVPDEBUG1( "CSVPController::IncomingSessionHandlerL disabling" );
             
@@ -1428,6 +1428,8 @@
             
                 SVPAudioUtility::DisableSpeakerSinkL( stream1->Sinks() );
                 SVPAudioUtility::DisableMicSourceL( *stream1 );
+                //remove all streams that not audio stream
+                i++;
                 }
             }