equal
deleted
inserted
replaced
358 // the plugin is (was) in-focus or activated. |
358 // the plugin is (was) in-focus or activated. |
359 iBavpController->HandleBrowserNotification( TBool(aParam) ); |
359 iBavpController->HandleBrowserNotification( TBool(aParam) ); |
360 if(!aParam) //app background |
360 if(!aParam) //app background |
361 { |
361 { |
362 iIsForeGround = EFalse; |
362 iIsForeGround = EFalse; |
363 if(EBavpPlaying == iBavpController->State()) |
363 //Pause for Live stream will Leave with KErrNotSupported from Helix player |
|
364 //and intern session will be closed. For Live stream Pause should not be done |
|
365 if(EBavpPlaying == iBavpController->State() && ( !iBavpController->IsClipLive()) ) |
364 { |
366 { |
365 iPauseState = ETrue; |
367 iPauseState = ETrue; |
366 iPauseInBackground = ETrue; |
368 iPauseInBackground = ETrue; |
367 iBavpController->PauseL(); |
369 iBavpController->PauseL(); |
368 } |
370 } |
396 case EPluginInvisible : |
398 case EPluginInvisible : |
397 if( !aParam ) |
399 if( !aParam ) |
398 { |
400 { |
399 if ( iBavpController && (!iPauseState) ) //plugin background |
401 if ( iBavpController && (!iPauseState) ) //plugin background |
400 { |
402 { |
401 if(EBavpPlaying == iBavpController->State()) |
403 //Pause for Live stream will Leave with KErrNotSupported from Helix player |
|
404 //and intern session will be closed. For Live stream Pause should not be done |
|
405 if( (EBavpPlaying == iBavpController->State() ) && ( !iBavpController->IsClipLive()) ) |
402 { |
406 { |
403 iPauseState = ETrue; |
407 iPauseState = ETrue; |
404 iBavpController->PauseL(); |
408 iBavpController->PauseL(); |
405 } |
409 } |
406 } |
410 } |