@siteed/expo-audio-stream 1.13.0 → 1.13.2

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/CHANGELOG.md CHANGED
@@ -8,8 +8,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
8
8
  ## [Unreleased]
9
9
 
10
10
 
11
- ## [1.13.0] - 2025-02-09
11
+ ## [1.13.2] - 2025-02-10
12
+
13
+ ## [1.13.1] - 2025-02-10
12
14
 
15
+ ## [1.13.0] - 2025-02-09
16
+ - Audiodecode (#104) ([173f589](https://github.com/deeeed/expo-audio-stream/commit/173f589ebe8763f7361088d150bba1d4bd2c4154))
17
+ - fix: resolve background recording issues and improve status checking (#103) ([a174d50](https://github.com/deeeed/expo-audio-stream/commit/a174d50932b2ee4682f4bd6edb3eaa9a7d579bfc))
13
18
  ## [1.12.3] - 2025-02-08
14
19
  - fix: infinite rerender issue ([54a6a84](https://github.com/deeeed/expo-audio-stream/commit/54a6a8414688c9fbf897c56503c0091dcaf55e26))
15
20
  ## [1.12.1] - 2025-02-01
@@ -104,7 +109,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
104
109
  - Feature: Audio features extraction during recording.
105
110
  - Feature: Consistent WAV PCM recording format across all platforms.
106
111
 
107
- [unreleased]: https://github.com/deeeed/expo-audio-stream/compare/@siteed/expo-audio-stream@1.13.0...HEAD
112
+ [unreleased]: https://github.com/deeeed/expo-audio-stream/compare/@siteed/expo-audio-stream@1.13.2...HEAD
113
+ [1.13.2]: https://github.com/deeeed/expo-audio-stream/compare/@siteed/expo-audio-stream@1.13.1...@siteed/expo-audio-stream@1.13.2
114
+ [1.13.1]: https://github.com/deeeed/expo-audio-stream/compare/@siteed/expo-audio-stream@1.13.0...@siteed/expo-audio-stream@1.13.1
108
115
  [1.13.0]: https://github.com/deeeed/expo-audio-stream/compare/@siteed/expo-audio-stream@1.12.3...@siteed/expo-audio-stream@1.13.0
109
116
  [1.12.3]: https://github.com/deeeed/expo-audio-stream/compare/@siteed/expo-audio-stream@1.12.2...@siteed/expo-audio-stream@1.12.3
110
117
  [1.12.2]: https://github.com/deeeed/expo-audio-stream/compare/@siteed/expo-audio-stream@1.12.1...@siteed/expo-audio-stream@1.12.2
package/README.md CHANGED
@@ -5,30 +5,32 @@
5
5
  [![Dependency Status](https://img.shields.io/npm/dt/@siteed/expo-audio-stream.svg)](https://www.npmjs.com/package/@siteed/expo-audio-stream)
6
6
  [![License](https://img.shields.io/npm/l/@siteed/expo-audio-stream.svg)](https://www.npmjs.com/package/@siteed/expo-audio-stream)
7
7
 
8
-
9
8
  <div align="center">
10
- <h2 align="center">
11
- <br />
12
- <strong>Comprehensive library designed to facilitate real-time audio processing and streaming across iOS, Android, and web platforms, with support for dual-stream recording and audio compression.
13
- <br />
14
- <br />
15
- <a href="https://deeeed.github.io/expo-audio-stream/playground/">
16
- <img src="../../docs/demo.gif" alt="Screenshot Playground">
17
- </a>
18
- <br/><br/>
19
- <a href="https://deeeed.github.io/expo-audio-stream/playground" style="text-decoration:none;">
20
- <div style="display:inline-block; padding:10px 20px; background-color:#007bff; color:white; border-radius:5px; font-size:16px;">
21
- Try it out
22
- </div>
23
- </a>
24
- <br/>
25
- </h2>
9
+ <p align="center">
10
+ <strong>Comprehensive library designed to facilitate real-time audio processing and streaming across iOS, Android, and web platforms, with support for dual-stream recording and audio compression.</strong>
11
+ </p>
12
+
13
+ <div style="display: flex; justify-content: center; gap: 20px; margin: 30px 0;">
14
+ <div>
15
+ <h3>iOS Demo</h3>
16
+ <img src="../../docs/ios.gif" alt="iOS Demo" width="280" />
17
+ </div>
18
+ <div>
19
+ <h3>Android Demo</h3>
20
+ <img src="../../docs/android.gif" alt="Android Demo" width="280" />
21
+ </div>
22
+ </div>
23
+
24
+ <a href="https://deeeed.github.io/expo-audio-stream/playground" style="text-decoration:none;">
25
+ <div style="display:inline-block; padding:10px 20px; background-color:#007bff; color:white; border-radius:5px; font-size:16px;">
26
+ Try it in the Playground
27
+ </div>
28
+ </a>
26
29
  </div>
27
30
 
28
31
  **Give it a GitHub star 🌟, if you found this repo useful.**
29
32
  [![GitHub stars](https://img.shields.io/github/stars/deeeed/expo-audio-stream.svg?style=social&label=Star&maxAge=2592000)](https://github.com/deeeed/expo-audio-stream)
30
33
 
31
-
32
34
  ## Features
33
35
 
34
36
  - Real-time audio streaming across iOS, Android, and web.
@@ -38,20 +38,30 @@ class AudioRecordingService : Service() {
38
38
  // Start as foreground service if keepAwake is true, regardless of notification settings
39
39
  val keepAwake = AudioRecorderManager.getInstance()?.getKeepAwakeStatus() ?: false
40
40
  if (keepAwake) {
41
- // Create a minimal notification channel if needed, but don't show the notification
42
41
  if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
42
+ // Create a minimal notification channel if needed
43
43
  val channel = NotificationChannel(
44
44
  "recording_service",
45
45
  "Recording Service",
46
46
  NotificationManager.IMPORTANCE_LOW
47
- )
47
+ ).apply {
48
+ setSound(null, null)
49
+ enableLights(false)
50
+ enableVibration(false)
51
+ }
48
52
  val notificationManager = getSystemService(NotificationManager::class.java)
49
53
  notificationManager.createNotificationChannel(channel)
50
54
 
51
- // Create minimal notification but don't show it
55
+ // Create minimal silent notification
52
56
  val notification = NotificationCompat.Builder(this, "recording_service")
53
57
  .setContentTitle("")
54
58
  .setContentText("")
59
+ .setSmallIcon(R.drawable.ic_microphone)
60
+ .setOngoing(true)
61
+ .setSound(null)
62
+ .setVibrate(null)
63
+ .setDefaults(0)
64
+ .setPriority(NotificationCompat.PRIORITY_LOW)
55
65
  .build()
56
66
 
57
67
  startForeground(1, notification)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@siteed/expo-audio-stream",
3
- "version": "1.13.0",
3
+ "version": "1.13.2",
4
4
  "description": "stream audio crossplatform",
5
5
  "license": "MIT",
6
6
  "main": "build/index.js",