Skip to content

v5.6.0

Latest

Choose a tag to compare

@dcvz dcvz released this 20 Jun 14:50
2be767d

First-class web support brings the same player API to the browser. HLS (.m3u8) streams are now cached like any other audio — the isLive cache-bypass workaround is no longer needed.

Full notes: rntp.dev/changelog#5.6.0

Added

  • Web platform — a web implementation of the player, so the same API runs in the browser.

Changed

  • isLive bypasses the cache — live streams skip the cache and play directly, so their short-lived segments don't churn it. iOS detects live HLS automatically (no #EXT-X-ENDLIST); on Android set isLive for live HLS.

Fixed

  • HLS caching — cached HLS no longer fails with "resource unavailable"; segments are cached per-URL on iOS and Android.
  • Cast button tint — the Android cast button respects its configured tint color.
  • Foreground refresh — Android playback hooks refresh when the app returns to the foreground.
  • Active item after clearing the queueuseActiveMediaItem updates correctly after the queue is cleared on iOS.

Upgrade

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