convergedcallengine/csplugin/src/cspcall.cpp
branchRCL_3
changeset 15 13725ba12484
parent 0 ff3b6d0fd310
child 18 594d59766373
--- a/convergedcallengine/csplugin/src/cspcall.cpp	Wed Jun 09 10:18:03 2010 +0300
+++ b/convergedcallengine/csplugin/src/cspcall.cpp	Mon Jun 21 16:18:13 2010 +0300
@@ -194,7 +194,8 @@
             // If audio still active
             if ( iAudioStatus == ECSPCallAudioStatusActive 
                  && iAudioHandler
-                 && iParams->CallType() == CCPCall::ECallTypeCSVoice )
+                 && ( iParams->CallType() == CCPCall::ECallTypeCSVoice 
+                    || iParams->CallType() == CCPCall::ECallTypeVideo ) )
                 {
                 iAudioStatus = ECSPCallAudioStatusInactive;
                 iAudioHandler->Stop();
@@ -215,7 +216,9 @@
         case RMobileCall::EStatusDialling:
             CSPLOGSTRING(CSPINT, "CSPCall callstate Dialling");
             {
-            if ( iAudioHandler && iParams->CallType() == CCPCall:: ECallTypeCSVoice )
+            if ( iAudioHandler 
+                 && ( iParams->CallType() == CCPCall::ECallTypeCSVoice 
+                    || iParams->CallType() == CCPCall::ECallTypeVideo ) )
                 {
                 iAudioStatus = ECSPCallAudioStatusActive;
                 iAudioHandler->Start();