Home BuildFire: Resume audio when internet connection returns
Reply: 0

BuildFire: Resume audio when internet connection returns

user1221 Published in July 23, 2018, 1:30 pm

The BuildFire framework does not appear to be resuming audio playback on Android, though this feature is still working correctly on iOS.

Back in February 2017 I submitted an issue (https://github.com/BuildFire/sdk/issues/327, which has since been deleted) to request this audio resume functionality. It was added by Attila Buturla, with final completion of the functionality in April 2017.

Steps to reproduce the bug:

  1. Launch the Radio HaHa app (App ID cae968ad-9fa0-11e6-8a24-067ad0e445f5) on an Android device. Audio starts playing.
  2. Set the phone into airplane mode. Audio stops due to the loss of connectivity.
  3. Take the phone out of airplane mode.

Expected result: the audio should resume automatically, regardless of whether the app is in the foreground or background.

Bug: the audio does not resume automatically. Instead, the user has to bring the app back to the foreground and press the play button.

The app is using buildfire.services.media.audioPlayer for playback:

var audioPlayer = buildfire.services.media.audioPlayer; ... audioPlayer.play(new Track('Radio Ha-Ha!', url));

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.637141 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO