browserplugins/browseraudiovideoplugin/src/BavpPlugin.cpp
branchRCL_3
changeset 39 08ffbd51e3fd
parent 35 5c11946e75b3
child 46 4baee4f15982
--- a/browserplugins/browseraudiovideoplugin/src/BavpPlugin.cpp	Tue Apr 27 16:41:18 2010 +0300
+++ b/browserplugins/browseraudiovideoplugin/src/BavpPlugin.cpp	Tue May 11 16:16:13 2010 +0300
@@ -360,7 +360,9 @@
  					if(!aParam) //app background
                     {
                     iIsForeGround = EFalse; 
-                    if(EBavpPlaying == iBavpController->State()) 
+                    //Pause for Live stream will Leave with KErrNotSupported from Helix player 
+                    //and intern session will be closed. For Live stream Pause should not be done  
+                    if(EBavpPlaying == iBavpController->State() && ( !iBavpController->IsClipLive()) ) 
                         { 
                         iPauseState = ETrue; 
                         iPauseInBackground = ETrue; 
@@ -398,7 +400,9 @@
                 {
                 if ( iBavpController  && (!iPauseState) ) //plugin background 
                        { 
-                       if(EBavpPlaying == iBavpController->State()) 
+                        //Pause for Live stream will Leave with KErrNotSupported from Helix player 
+                        //and intern session will be closed. For Live stream Pause should not be done  
+                       if( (EBavpPlaying == iBavpController->State() ) && ( !iBavpController->IsClipLive()) ) 
                            { 
                            iPauseState = ETrue; 
                            iBavpController->PauseL();