Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/Radweb/react-native-audio-transcoder

Transcode audio format in react-native. Supports mp3 🎉
https://github.com/Radweb/react-native-audio-transcoder

aac audio mp3 react-native transcode

Last synced: about 2 months ago
JSON representation

Transcode audio format in react-native. Supports mp3 🎉

Awesome Lists containing this project

README

        

# Setup

- Install this repository via yarn
- Run `react-native link react-native-audio-transcoder`

## Android

No additional steps required

## iOS

- Add the `AVMediaFoundation` library to your root react native project

# Interface

```javascript
import { transcode } from 'react-native-audio-transcoder'

const myFilePath = getFilePath()
const myNewFile = myFilePath.replace('aac', 'mp3')

transcode(myFilePath, myNewFile)
.then(() => console.log('Party!'))
```