Skip to content

v1.2.1

Choose a tag to compare

@github-actions github-actions released this 24 Oct 02:41
856fe7f

1.2.1 (2026-10-24)

Reliability fixes across the three engines and the iOS, Android and web hosts. Late callbacks, timeouts, stalls and reconnect: false now behave the same everywhere (22 new conformance scenarios, 127 in all). Three behaviours are stricter (see Upgrading).

Fixed

  • Engine (iOS, Android, web)
    • A late end or failure from an item that was stopped, failed or released no longer turns the player into ended or error. An item that ends during a stop's fade-out stays stopped, and a repeated end is reported once.
    • load() without autoplay (or paused while loading, or refused audio focus) times out after 12 s instead of waiting forever.
    • A silent stall (the playhead freezes while the native player says it is playing) ends as soon as audio moves again, instead of being re-opened from the start. A re-opened file resumes where the playhead got to.
    • recovery.reconnect: false is honoured everywhere. Stalls, network changes, returning to the foreground, media-services resets and the drivers' own connection splicing no longer re-open on their own.
    • A source loaded with live: false ends at its end even when its duration is unknown, instead of reconnecting.
    • Returning to the foreground at the same moment as a network restore no longer aborts the fresh connection.
    • A sleep timer or fade longer than 24 h is rejected instead of crashing (iOS) or firing at once (Android).
    • ICY: whitespace between fields (StreamTitle='…'; StreamUrl='…';) no longer leaks into the title, and the artwork URL is read.
  • iOS
    • HLS streams whose URL does not end in .m3u8 play: the stream proxy hands the playlist to AVFoundation instead of breaking its relative segment URLs.
    • A file served without Content-Length and loaded with live: false ends instead of starting over.
    • The Sound API no longer switches a Player's audio session to ambient, which would make the Player obey the silent switch and lose background audio. A Player restores its category when something changed it.
    • The visualizer no longer works on the audio render thread, and it stops with its item.
  • Android: the Cast title reader keeps asking for ICY metadata, even when the source's headers say Icy-MetaData: 0.
  • Web
    • A play refused by the browser's autoplay policy (from a media key, for instance) no longer makes the next, unrelated command reject with AUTOPLAY_BLOCKED.
    • Releasing a player closes its visualizer's AudioContext (browsers limit how many a page may have).
    • Google Cast tries to load its SDK again after a failure (offline at page load, for instance).
    • A stream whose buffer stays full is ended and recovered, instead of silently skipping audio.
  • Packaging: tarballs packed with Yarn include the Codegen specs (src/native), and the exports map lists ./app.plugin.js.
  • Expo plugin: a project name containing a backslash or a quote no longer breaks the App Intents entry in the Xcode project.

Upgrading

  • reconnect: false is now strict. A stall or a lost connection ends in a fatal NETWORK_ERROR instead of recovering; call play() to retry. With reconnect left on (the default) nothing changes.
  • load() with autoplay: false can reject with TIMEOUT when the source does not answer within 12 s.
  • Durations over 24 h in sleep(), fadeTo() and fade reject with INVALID_ARGUMENT.
  • Files served without Content-Length: load them with live: false so they end at their end (iOS used to treat them as radio).