Skip to content

v5.8.0

Latest

Choose a tag to compare

@eml eml released this 02 Jun 00:42
· 1 commit to master since this release
  • Distribution: CocoaPods and Carthage support have been dropped. The SDK is now distributed
    exclusively through Swift Package Manager via tags on the public FeedMedia repo.
  • Feature: New searchForAndSetActiveStation: method that searches for a matching station and
    sets it as active in a single API request, with optional audio preparation for faster playback.
  • Feature: New FMStationSearchQuery class for building typed station search queries with
    MongoDB-style filters. Supports radio, first_play, and replay station types.
  • Feature: New requestPlayWithStationSearches method with support for specifying audio
    formats and bitrate.
  • Feature: Network throttling support via new useBackgroundNetworkServiceType property on
    FMAudioPlayer. When enabled, audio downloads are deprioritized when competing for bandwidth.
  • Feature: New FMResourceMonitor that tracks free disk space and available memory, with
    low-disk and low-memory detection. Resource metrics are included in analytics events.
  • Feature: FMStation now exposes a placementID property.
  • Feature: New error codes FeedFMErrorCodeRequestTimeout, FeedFMErrorCodePlayerCouldNotSetStation,
    and FeedFMErrorCodePlayerPrepareTimeout.
  • Fix: Fixed skip error handling.
  • Fix: Fixed play method return value (now returns BOOL indicating success).
  • Fix: Corrected the activeStation nullability annotation from nonnull to nullable. It
    returns nil before the player is initialized and whenever no station is active.
  • Cleanup: Removed the unused FMAudioPlayerStationListAvailableNotification constant. The
    notification itself was removed in v4.0; only the orphaned symbol remained.
  • Improvement: Better memory management for active download tasks using NSMapTable.
  • Improvement: More sophisticated logic for detecting HTTP range request support.
  • Improvement: Updated documentation for completion handler methods.