github doublesymmetry/react-native-track-player v5.7.0
5.7.0

4 hours ago

Live radio and event streams can now snap back to the live edge — call seekToLiveEdge() on demand, or set liveResumeBehavior: 'live-edge' to catch up automatically on every play (lock screen, notification, Android Auto, CarPlay, and web included).

Full notes: rntp.dev/changelog#5.7.0

Added

  • Live edge resume — jump a live stream back to the current live point. Call seekToLiveEdge() to snap a live item to the live edge without changing whether it's playing, or set the new liveResumeBehavior option to live-edge to catch up automatically on every play — including from the lock screen, notification, Android Auto, CarPlay, and web controls. Only items marked isLive are affected; the default position resumes where playback left off.

Fixed

  • ICY metadata with caching (iOS) — live Icecast/Shoutcast radio shows and updates its inline "now playing" title and artist even when caching is enabled.
  • Web TypeScript types — the library source type-checks cleanly on web when shaka-player is installed and tsc mirrors your bundler's .web resolution.

Upgrade

npm install @rntp/player@5.7.0
# iOS
cd ios && pod install

Don't miss a new react-native-track-player release

NewReleases is sending notifications on new releases.