sezo-audio-engine
v0.0.12
Published
Cross-platform Expo module for the Sezo Audio Engine with iOS implementation and background playback.
Maintainers
Readme
Sezo Audio Engine (Expo module)
The Expo module is the cross-platform package for Sezo Audio Engine. It includes a full iOS implementation and adds background playback support.
Install
npm install sezo-audio-engineOr:
yarn add sezo-audio-engineConfigure permissions
Android recording:
<uses-permission android:name="android.permission.RECORD_AUDIO" />Android Engine Dependency
The Expo module links to the Android engine from JitPack by default. Add the JitPack repository to your app:
// android/build.gradle
allprojects {
repositories {
maven { url "https://www.jitpack.io" }
}
}Optionally pin the engine version in android/gradle.properties:
sezoAudioEngineVersion=android-engine-v0.1.5If you want to build from source instead, include the local engine module in
android/settings.gradle and it will be picked up automatically.
iOS recording or background playback:
{
"expo": {
"ios": {
"infoPlist": {
"NSMicrophoneUsageDescription": "Allow access to the microphone for recording audio.",
"UIBackgroundModes": ["audio"]
}
}
}
}Usage
import { AudioEngineModule } from 'sezo-audio-engine';See the docs for full API details and examples.
Docs
- Overview: https://sepzie.github.io/SezoAudioEngine/expo/overview/
- Install: https://sepzie.github.io/SezoAudioEngine/expo/install/
- API: https://sepzie.github.io/SezoAudioEngine/expo/api/
