--- 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();