Repository navigation
v1.2.1
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
endedorerror. An item that ends during a stop's fade-out staysstopped, 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: falseis 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: falseends 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.
- A late end or failure from an item that was stopped, failed or released no longer turns the player into
- iOS
- HLS streams whose URL does not end in
.m3u8play: the stream proxy hands the playlist to AVFoundation instead of breaking its relative segment URLs. - A file served without
Content-Lengthand loaded withlive: falseends 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.
- HLS streams whose URL does not end in
- 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.
- A play refused by the browser's autoplay policy (from a media key, for instance) no longer makes the next, unrelated command reject with
- Packaging: tarballs packed with Yarn include the Codegen specs (
src/native), and theexportsmap 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: falseis now strict. A stall or a lost connection ends in a fatalNETWORK_ERRORinstead of recovering; callplay()to retry. Withreconnectleft on (the default) nothing changes.load()withautoplay: falsecan reject withTIMEOUTwhen the source does not answer within 12 s.- Durations over 24 h in
sleep(),fadeTo()andfadereject withINVALID_ARGUMENT. - Files served without
Content-Length: load them withlive: falseso they end at their end (iOS used to treat them as radio).