Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 🎉
- Host: GitHub
- URL: https://github.com/Radweb/react-native-audio-transcoder
- Owner: Radweb
- License: apache-2.0
- Created: 2017-03-17T16:49:30.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-06-28T13:09:38.000Z (about 1 year ago)
- Last Synced: 2024-04-10T09:51:44.662Z (5 months ago)
- Topics: aac, audio, mp3, react-native, transcode
- Language: Java
- Size: 40 KB
- Stars: 17
- Watchers: 8
- Forks: 9
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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!'))
```