ConnectSDK / Connect-SDK-Android

Android source project for Connect SDK
Apache License 2.0
308 stars 129 forks source link

Photos not casted to the LG Netcast TV if previously the music was playing #243

Open softvision-ionutgavris opened 9 years ago

softvision-ionutgavris commented 9 years ago

Steps to reproduce:

  1. Start Connect SDK Sampler app
  2. Connect to LG Netcast TV
  3. From media fragment tap the Audio button (wait for music to start)
  4. From media fragment tap the Photo button

Actual result: Music stops, TV returns to Live TV.

Expected result: Music stops, TV displays the Photo.

oleksii-frolov commented 9 years ago

This is actually a sampler app issue and it was fixed here https://github.com/ConnectSDK/Connect-SDK-Android-API-Sampler/commit/6ded18a7ba9adb0515d80f6cf163f8cc5dd9dba4

softvision-ionutgavris commented 9 years ago

We already have this workaround in place, as we used it with older LG SDK's, but with the latest one it does not work anymore.

To close the previous session we use the launch session that we receive in the MediaPlayer.LaunchListener onSuccess(MediaPlayer.MediaLaunchObject object) callback.

oleksii-frolov commented 9 years ago

So you do these steps:

and you cannot show a photo? Am I right? Please add your logs here if it's possible.

oleksii-frolov commented 9 years ago

@softvision-ionutgavris Is this issue still actual?