Forums - Empty speaker list

7 posts / 0 new
Last post
Empty speaker list
Pinball Wizard
Join Date: 14 Apr 15
Posts: 50
Posted: Mon, 2016-05-02 05:40

Hi, a couple of my users have reported an empty speaker list when the go into the allplay speaker selection dialog provided by the SDK.

I can reproduce this problem, and it seems to be related to having no groups.  i.e. if all your speakers are not grouped.  Pressing the Group button shows all the speakers correctly.

Other scenarios seem to work correctly.  Is this a known issue with SDK 2.1?

Any news on new releases of SDK?  it's been a while :-)?

  • Up0
  • Down0
daniel.tai Moderator
Join Date: 19 Oct 15
Location: San Jose
Posts: 32
Posted: Mon, 2016-05-02 10:17

Hi Pinball Wizard,

Our QA have never seen this issue in v2.1, and they usually leave the app on a long time to see.  We haven't gotten report of this in Jukebox, and Click SDK and Jukebox both use the same SDK.  I am sorry for the trouble, but I will bring this up to QA to see if they can reproduce and provide me the logs for debugging.

As for the new SDK, it will have your request to allow back press if you do not support local playback.  We are hoping Legal will finalize everything in a few weeks.

Thanks

Daniel

  • Up0
  • Down0
Pinball Wizard
Join Date: 14 Apr 15
Posts: 50
Posted: Mon, 2016-05-02 16:12

Hi, recorded a video showing the difference between speaker discovery when grouped and when not grouped.

https://drive.google.com/file/d/0Bxs4UbxtVdGgQV9abmRhLXlSZVU/view?usp=dr...

Once speakers are discovered they stay that way, so the problem only affects initial app launch (hence the swipe sideways kill process in my video)

 

  • Up0
  • Down0
Pinball Wizard
Join Date: 14 Apr 15
Posts: 50
Posted: Mon, 2016-05-02 16:14

It's far more likely it's a problem with my code, lol.... :-)

  • Up0
  • Down0
daniel.tai Moderator
Join Date: 19 Oct 15
Location: San Jose
Posts: 32
Posted: Tue, 2016-05-03 15:14

Hi Pinball Wizard,

It looks like Click SDK dialog have not yet register the listener to update the UX, because after you come back from group view, the players refreshed.  May I get a sample snippet as well debug logs from your app?  If it is on our end, I am hoping we still have time to put it in v2.2

Thanks

Daniel

  • Up0
  • Down0
Pinball Wizard
Join Date: 14 Apr 15
Posts: 50
Posted: Tue, 2016-05-03 16:02

Here are some logs:

05-03 23:57:38.669 32482-32482/uk.droidsoft.com.allplaystreamer D/AudioFragment: [onClicked::allplay] start
05-03 23:57:38.670 32482-502/uk.droidsoft.com.allplaystreamer D/AllPlayController: initPlayTo()
05-03 23:57:38.670 32482-502/uk.droidsoft.com.allplaystreamer V/PlayerManager: Loading Library AllPlayControllerSDK
05-03 23:57:38.727 32482-32482/uk.droidsoft.com.allplaystreamer E/OnboardingManager: [onReceive] info=CONNECTED reason=null
05-03 23:57:38.729 32482-32482/uk.droidsoft.com.allplaystreamer E/OnboardingManager: [onReceive] starting startedByCalls is false
05-03 23:57:38.729 32482-32482/uk.droidsoft.com.allplaystreamer D/OnboardingManager: [onReceive] currentssid = MGLAN_5GIG
05-03 23:57:38.730 32482-32482/uk.droidsoft.com.allplaystreamer E/OnboardingManager: [onReceive] wifi state = 3
05-03 23:57:38.731 32482-32482/uk.droidsoft.com.allplaystreamer E/OnboardingManager: [onReceive] starting startedByCalls is false
05-03 23:57:38.731 32482-32482/uk.droidsoft.com.allplaystreamer D/OnboardingManager: [onReceive] currentssid = MGLAN_5GIG
05-03 23:57:38.731 32482-32482/uk.droidsoft.com.allplaystreamer D/AllPlayDeviceDialog: show()
05-03 23:57:38.753 32482-32482/uk.droidsoft.com.allplaystreamer E/OnboardingManager: [onReceive] starting startedByCalls is false
05-03 23:57:38.753 32482-32482/uk.droidsoft.com.allplaystreamer D/OnboardingManager: [onReceive] currentssid = MGLAN_5GIG
05-03 23:57:38.753 32482-32482/uk.droidsoft.com.allplaystreamer E/OnboardingManager: [onReceive] supplicant state = COMPLETED
05-03 23:57:38.753 32482-32482/uk.droidsoft.com.allplaystreamer E/OnboardingManager: [onReceive] supplicate error=-1
05-03 23:57:38.754 32482-32482/uk.droidsoft.com.allplaystreamer E/OnboardingManager: [onReceive] starting startedByCalls is false
05-03 23:57:38.754 32482-32482/uk.droidsoft.com.allplaystreamer D/OnboardingManager: [onReceive] currentssid = MGLAN_5GIG
05-03 23:57:38.785 32482-523/uk.droidsoft.com.allplaystreamer E/alljoyn:    0.682 ****** ERROR PERMISSION_MGR lepDisp2_0 ...ndroid/PermissionDB.cc:182 |  0x0001
05-03 23:57:38.828 32482-32482/uk.droidsoft.com.allplaystreamer D/AllPlayDeviceDialog: updateGroupAndVolumeView
05-03 23:57:38.945 32482-583/uk.droidsoft.com.allplaystreamer E/alljoyn:    0.843 ****** ERROR NETWORK iodisp2_1         ...mon/os/posix/Socket.cc:463 |  0x0004
05-03 23:57:38.957 32482-533/uk.droidsoft.com.allplaystreamer E/alljoyn:    0.853 ****** ERROR NETWORK iodisp2_0         ...mon/os/posix/Socket.cc:463 |  0x0004
05-03 23:57:38.963 32482-583/uk.droidsoft.com.allplaystreamer E/alljoyn:    0.861 ****** ERROR NETWORK iodisp2_1         ...mon/os/posix/Socket.cc:463 |  0x0004
05-03 23:57:38.970 32482-583/uk.droidsoft.com.allplaystreamer E/alljoyn:    0.868 ****** ERROR NETWORK iodisp2_1         ...mon/os/posix/Socket.cc:463 |  0x0004
05-03 23:57:38.971 32482-588/uk.droidsoft.com.allplaystreamer E/alljoyn:    0.868 ****** ERROR NETWORK iodisp2_2         ...mon/os/posix/Socket.cc:463 |  0x0004
05-03 23:57:38.974 32482-614/uk.droidsoft.com.allplaystreamer E/alljoyn:    0.868 ****** ERROR NETWORK iodisp2_3         ...mon/os/posix/Socket.cc:463 |  0x0004
05-03 23:57:39.109 32482-597/uk.droidsoft.com.allplaystreamer E/alljoyn:    1.007 ****** ERROR MDF     external          ...oynPropertyRequest.cpp:112 |  0x9032
05-03 23:57:39.128 32482-597/uk.droidsoft.com.allplaystreamer E/alljoyn:    1.026 ****** ERROR MDF     external          ...oynPropertyRequest.cpp:112 |  0x9032
05-03 23:57:39.140 32482-597/uk.droidsoft.com.allplaystreamer D/OrbPlayTo_jni: [onZoneAdded] zone=Bedroom
05-03 23:57:39.141 32482-597/uk.droidsoft.com.allplaystreamer D/AllPlayController: onZoneAdded(Bedroom)
05-03 23:57:39.144 32482-663/uk.droidsoft.com.allplaystreamer E/alljoyn:    1.042 ****** ERROR MDF     external          ...oynPropertyRequest.cpp:112 |  0x9032
05-03 23:57:39.164 32482-663/uk.droidsoft.com.allplaystreamer E/alljoyn:    1.061 ****** ERROR MDF     external          ...oynPropertyRequest.cpp:112 |  0x9032
05-03 23:57:39.173 32482-663/uk.droidsoft.com.allplaystreamer D/OrbPlayTo_jni: [onZoneAdded] zone=Conservatory
05-03 23:57:39.176 32482-663/uk.droidsoft.com.allplaystreamer D/AllPlayController: onZoneAdded(Conservatory)
05-03 23:57:39.206 32482-617/uk.droidsoft.com.allplaystreamer E/alljoyn:    1.104 ****** ERROR MDF     external          ...oynPropertyRequest.cpp:112 |  0x9032
05-03 23:57:39.207 32482-671/uk.droidsoft.com.allplaystreamer E/alljoyn:    1.105 ****** ERROR MDF     external          ...oynPropertyRequest.cpp:112 |  0x9032
05-03 23:57:39.225 32482-617/uk.droidsoft.com.allplaystreamer E/alljoyn:    1.122 ****** ERROR MDF     external          ...oynPropertyRequest.cpp:112 |  0x9032
05-03 23:57:39.225 32482-671/uk.droidsoft.com.allplaystreamer E/alljoyn:    1.123 ****** ERROR MDF     external          ...oynPropertyRequest.cpp:112 |  0x9032
05-03 23:57:39.235 32482-671/uk.droidsoft.com.allplaystreamer D/OrbPlayTo_jni: [onZoneAdded] zone=Living Room
05-03 23:57:39.236 32482-671/uk.droidsoft.com.allplaystreamer D/AllPlayController: onZoneAdded(Living Room)
05-03 23:57:39.237 32482-617/uk.droidsoft.com.allplaystreamer D/OrbPlayTo_jni: [onZoneAdded] zone=Upstairs
05-03 23:57:39.241 32482-617/uk.droidsoft.com.allplaystreamer D/AllPlayController: onZoneAdded(Upstairs)
05-03 23:57:39.250 32482-612/uk.droidsoft.com.allplaystreamer E/alljoyn:    1.147 ****** ERROR MDF     external          ...oynPropertyRequest.cpp:112 |  0x9032
05-03 23:57:39.264 32482-610/uk.droidsoft.com.allplaystreamer E/alljoyn:    1.161 ****** ERROR MDF     external          ...oynPropertyRequest.cpp:112 |  0x9032
05-03 23:57:39.268 32482-612/uk.droidsoft.com.allplaystreamer E/alljoyn:    1.165 ****** ERROR MDF     external          ...oynPropertyRequest.cpp:112 |  0x9032
05-03 23:57:39.276 32482-612/uk.droidsoft.com.allplaystreamer D/OrbPlayTo_jni: [onZoneAdded] zone=Kitchen
05-03 23:57:39.280 32482-612/uk.droidsoft.com.allplaystreamer D/AllPlayController: onZoneAdded(Kitchen)
05-03 23:57:39.283 32482-610/uk.droidsoft.com.allplaystreamer E/alljoyn:    1.181 ****** ERROR MDF     external          ...oynPropertyRequest.cpp:112 |  0x9032
05-03 23:57:39.293 32482-610/uk.droidsoft.com.allplaystreamer D/OrbPlayTo_jni: [onZoneAdded] zone=Computer Room
05-03 23:57:39.295 32482-610/uk.droidsoft.com.allplaystreamer D/AllPlayController: onZoneAdded(Computer Room)
05-03 23:57:39.295 32482-610/uk.droidsoft.com.allplaystreamer D/AllPlayController: handleReconnect
05-03 23:57:39.311 32482-610/uk.droidsoft.com.allplaystreamer D/AudioFragment: shouldConnectToLastSelectedPlayer
05-03 23:57:39.311 32482-610/uk.droidsoft.com.allplaystreamer D/AllPlayController: saveLastSelectedZone
05-03 23:57:39.314 32482-610/uk.droidsoft.com.allplaystreamer D/AllPlayPlayer: onPlayerStateChanged(STOPPED)
05-03 23:57:39.315 32482-610/uk.droidsoft.com.allplaystreamer D/AudioFragment: onPlayerStateChanged:Computer Room playerState:STOPPED
05-03 23:57:39.317 32482-610/uk.droidsoft.com.allplaystreamer D/AllPlayPlayer: onPlayerVolumeChanged(24)
05-03 23:57:39.319 32482-610/uk.droidsoft.com.allplaystreamer D/AudioFragment: onVolumeChanged(Computer Room)
05-03 23:57:39.349 32482-32482/uk.droidsoft.com.allplaystreamer E/GetPlayingText: AllPlayMediaItem is null
05-03 23:57:39.396 32482-32482/uk.droidsoft.com.allplaystreamer W/cr_BindingManager: Cannot call determinedVisibility() - never saw a connection for the pid: 32482
05-03 23:57:39.397 32482-32482/uk.droidsoft.com.allplaystreamer D/cr_Ime: [InputMethodManagerWrapper.java:59] isActive: true
05-03 23:57:39.397 32482-32482/uk.droidsoft.com.allplaystreamer D/cr_Ime: [InputMethodManagerWrapper.java:68] hideSoftInputFromWindow
05-03 23:57:40.393 32482-730/uk.droidsoft.com.allplaystreamer E/alljoyn:    2.290 ****** ERROR NETWORK iodisp2_0         ...mon/os/posix/Socket.cc:463 |  0x0004
05-03 23:57:40.397 32482-730/uk.droidsoft.com.allplaystreamer E/alljoyn:    2.295 ****** ERROR NETWORK iodisp2_0         ...mon/os/posix/Socket.cc:463 |  0x0004
 

I'm showing the allplay speaker selection dialog like so:

 

case R.id.fab_fakeallplay:
   Snackbar.make(mRootView, "Showing AllPlay Speaker Configuration", Snackbar.LENGTH_LONG).setAction("Action", null).show();
   MyApplication.getAllPlayController().start();
   Log.d(TAG, "[onClicked::allplay] start");
   MyApplication.getAllPlayController().showAllPlayPlayersSelectionDialog(mRootView.getContext());
  • Up0
  • Down0
Pinball Wizard
Join Date: 14 Apr 15
Posts: 50
Posted: Wed, 2016-05-04 10:41

Done some code restructuring and have sorted the problem.  I now have an application-wide static listener, and it's now working correctly.
 

Thanks for your advice.

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.