Radweb / react-native-audio-transcoder

Transcode audio format in react-native. Supports mp3 πŸŽ‰

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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!'))

About

Transcode audio format in react-native. Supports mp3 πŸŽ‰

License:Apache License 2.0


Languages

Language:Java 56.7%Language:Objective-C 27.8%Language:JavaScript 8.8%Language:Ruby 6.6%