@arvkmr arvkmr released this Jan 8, 2019

ChangeLog

  • Fixed logging crash caused by null pointer.
  • Updated target to android 28.
  • Play started event now proceeds state change to STATE_PLAYING event.
  • Removed option to use background threads, due to thread policy of exoplayer this is no longer viable to support.
Assets 6

@arvkmr arvkmr released this Nov 17, 2018 · 1 commit to master since this release

ChangeLog

  • Default flavour now uses exoplayer version 2.9.0
  • exoDefault now uses Java 8 because of exoplayer 2.9.0
  • Add javadoc to the library.
Assets 6

@arvkmr arvkmr released this Oct 31, 2018 · 1 commit to master since this release

ChangeLog

  • Mock Location api for testing international playlists.
  • never restart playback automatically after AUDIOFOCUS_LOSS
Assets 5

@arvkmr arvkmr released this Oct 19, 2018 · 1 commit to master since this release

ChangeLog

  • when PlayerService.initialize() is called, call stop() and destroyInstance() on any
    FeedAudioPlayer created on previous initialize() calls.
  • if pause() is called after player has lost audio focus, don't resume playback when
    audio focus is regained.
  • Previously, AvailabilityListener.onPlayerUnavailable would be called even if local offline
    music was available. Now, onPlayerAvailabie is called if local offline music is available
    streaming music is not.
Assets 5

@arvkmr arvkmr released this Oct 1, 2018 · 1 commit to master since this release

ChangeLog

  • improve switching between streaming/offline stations
  • prevent some network calls from being cancelled
Assets 5

@arvkmr arvkmr released this Sep 25, 2018 · 1 commit to master since this release

ChangeLog

  • new FeedAudioPlayer.Builder class for creating FeedAudioPlayer instances
  • support for client id switching
  • new StationList class to support finding stations by 'options' metadata
  • support for offline stations
  • documentation review and cleanup
Assets 5

@arvkmr arvkmr released this Aug 23, 2018 · 1 commit to master since this release

ChangeLog

  • Update ExoPlayer minimum buffer size to 10 minutes to work around loading/buffering issues
Assets 5

@arvkmr arvkmr released this Jul 19, 2018 · 8 commits to master since this release

Feed FM Android Sdk

To Build with maven add any one of the following dependencies in your build file depending on which Exoplayer version you want to use.

implementation fm.feed.android:player-sdk:5.1.8
implementation fm.feed.android:player-sdk-exo260:5.1.8
implementation fm.feed.android:player-sdk-exo261:5.1.8
implementation fm.feed.android:player-sdk-exo281:5.1.8

To build with AAR instead of Maven add following dependencies to your app.

implementation 'com.google.code.gson:gson:2.8.2'
implementation 'com.squareup.retrofit2:retrofit:2.3.0'
implementation 'com.squareup.retrofit2:converter-gson:2.3.0'
implementation 'com.android.support:support-v4:27.1.1'
implementation 'com.google.android.exoplayer:exoplayer-core:2.X.X'

Replace X.X with version of exoplayer you are using, and use corresponding aar.

ChangeLog

  • Fixed null pointer error in library when internet disconnected.
Assets 5