@siteed/expo-audio-stream 1.0.0 → 1.0.1
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 +2 -13
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @siteed/expo-audio-stream
|
|
2
2
|
|
|
3
|
-
`@siteed/expo-audio-stream` is a comprehensive library designed to facilitate real-time audio processing and streaming across iOS, Android, and web platforms. This library leverages Expo's robust ecosystem to simplify the implementation of audio recording and streaming functionalities within React Native applications.
|
|
3
|
+
`@siteed/expo-audio-stream` is a comprehensive library designed to facilitate real-time audio processing and streaming across iOS, Android, and web platforms. This library leverages Expo's robust ecosystem to simplify the implementation of audio recording and streaming functionalities within React Native applications.
|
|
4
4
|
|
|
5
5
|
## Features
|
|
6
6
|
|
|
@@ -38,13 +38,10 @@ npm install @siteed/expo-audio-stream
|
|
|
38
38
|
yarn add @siteed/expo-audio-stream
|
|
39
39
|
```
|
|
40
40
|
|
|
41
|
-
Make sure that you have Expo set up in your project. For details on setting up Expo, refer to the Expo documentation.
|
|
42
41
|
|
|
43
42
|
### Configuring with app.json
|
|
44
43
|
|
|
45
|
-
To ensure expo-audio-stream works correctly with Expo, you must add it as a plugin in your app.json configuration file.
|
|
46
|
-
|
|
47
|
-
Add the plugin to your app.json like so:
|
|
44
|
+
To ensure expo-audio-stream works correctly with Expo, you must add it as a plugin in your app.json configuration file.
|
|
48
45
|
|
|
49
46
|
```json
|
|
50
47
|
{
|
|
@@ -187,11 +184,3 @@ function App() {
|
|
|
187
184
|
- on web, it usually records in opus but it depends on the browser configuration.
|
|
188
185
|
|
|
189
186
|
If you want to process the audio livestream directly, I recommend having another encoding step to align the audio format across platforms.
|
|
190
|
-
|
|
191
|
-
## TODO
|
|
192
|
-
this package is still in development, and there are a few things that need to be done:
|
|
193
|
-
- Add resume (vs currently use start) support and implement pause on iOS.
|
|
194
|
-
- Multi format support: Extend support to other audio formats beyond WAV, such as MP3 or AAC
|
|
195
|
-
- Integrate an audio processing library for optional audio analysis, such as equalization, noise reduction, or volume normalization.
|
|
196
|
-
- Implement a more robust error handling system to provide detailed error messages and recovery options.
|
|
197
|
-
|