1

Working with connectSDK Android for casting videos on samsung android Tv. I've successfully launch the default youtube app and played as well. But when ever i'm trying to stop the currently running Youtube video getting a response code = 400 i.e

com.connectsdk.service.command.ServiceCommandError: Bad Request

Anyone worked on this? or familiar with the issue?

Code:

if (runningAppSession != null) {    
    if (runningAppSession.getSessionType() == LaunchSessionType.App) {
        getLauncher().closeApp(runningAppSession, new ResponseListener<Object>() {
            @Override
            public void onError(ServiceCommandError error) {
                System.out.println(error);                  
            }

            @Override
            public void onSuccess(Object object) {
                System.out.println(object.toString());
            }
        });
    }
}
Ziem
  • 6,579
  • 8
  • 53
  • 86
kamal vaid
  • 862
  • 7
  • 12
  • Hi all .. I posted this bug to support connect. And their i've resolved this issue. Kindly check the issue @below link : https://github.com/ConnectSDK/Connect-SDK-Android/issues/251 – kamal vaid May 18 '15 at 06:06

0 Answers0