Created
January 6, 2018 09:44
-
-
Save maciejmatu/84f011a212941c0645ae1e22e24d1f39 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { AudioRecorder, AudioUtils } from 'react-native-audio'; | |
let audioPath = AudioUtils.DocumentDirectoryPath + '/test.aac'; | |
AudioRecorder.prepareRecordingAtPath(audioPath, { | |
SampleRate: 22050, | |
Channels: 1, | |
AudioQuality: "Low", | |
AudioEncoding: "aac" | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment