0.5.2 • Published 5 years ago

radweb-react-native-audio-transcoder v0.5.2

Weekly downloads
2
License
Apache-2.0
Repository
-
Last release
5 years ago

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

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

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

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