@octane-xplat/audio 0.11.1 → 0.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -5,9 +5,9 @@ pnpm add @octane-xplat/audio
5
5
  ```
6
6
 
7
7
  Long-form audio playback for Octane xplat apps — a queue player, not a
8
- sound-effect bank. iOS drives `AVPlayer`/`AVAudioSession` (interruption
9
- handling included) and Android `MediaPlayer`, both directly on
10
- `@nativescript/core` with no plugin dependency; web drives an
8
+ sound-effect bank. iOS uses `AVPlayer`/`AVAudioSession` (interruption
9
+ handling included) and Android uses `MediaPlayer`, both directly on
10
+ `@nativescript/core` with no plugin dependency. Web uses an
11
11
  `HTMLAudioElement` plus the Media Session API for system controls.
12
12
 
13
13
  ```ts
@@ -22,10 +22,10 @@ const off = player.subscribe((snapshot) => {
22
22
  })
23
23
  ```
24
24
 
25
- The `capabilities()` report is the honest part: `supported`,
26
- `backgroundPlayback`, `systemControls`, `userGestureRequired`, and
27
- `interruptions` vary by target and runtime state, so check them before
28
- promising behavior like lock-screen controls. The native entry requires
25
+ Playback features vary by target and runtime state, so call
26
+ `capabilities()` before promising behavior like lock-screen controls. It
27
+ reports `supported`, `backgroundPlayback`, `systemControls`,
28
+ `userGestureRequired`, and `interruptions`. The native entry requires
29
29
  iOS or Android — other targets get the web implementation or a thrown
30
30
  error, never a silent no-op.
31
31
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 1,
3
- "buildId": "eebc4104-76bc-4476-8920-981eeaec802e",
3
+ "buildId": "30a35ef3-902b-4da0-adea-fe0e5633030a",
4
4
  "mode": "production",
5
5
  "capabilities": {
6
6
  "independentHydration": false
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 1,
3
- "buildId": "dbcb1092-47e2-4159-932d-211a5b366910",
3
+ "buildId": "de9727f3-86ba-4639-b36a-66ad8aeada5d",
4
4
  "mode": "production",
5
5
  "capabilities": {
6
6
  "independentHydration": false
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@octane-xplat/audio",
3
- "version": "0.11.1",
3
+ "version": "0.13.0",
4
4
  "description": "Long-form audio playback for Octane xplat",
5
5
  "keywords": [
6
6
  "android",
@@ -42,9 +42,9 @@
42
42
  },
43
43
  "devDependencies": {
44
44
  "@nativescript-community/octane": "0.2.4",
45
- "@nativescript/core": "9.1.2",
45
+ "@nativescript/core": "9.1.3",
46
46
  "@octanejs/vite-plugin": "0.1.61",
47
- "octane": "0.6.3",
47
+ "octane": "0.11.0",
48
48
  "tsrx-typegen": "0.2.2",
49
49
  "typescript": "5.9.3",
50
50
  "vite": "8.3.0"