Skip to content

Instantly share code, notes, and snippets.

@zaghaghi
Created July 14, 2018 15:53
Show Gist options
  • Save zaghaghi/a1860e2fd182b77797f0b457d79612c3 to your computer and use it in GitHub Desktop.
Save zaghaghi/a1860e2fd182b77797f0b457d79612c3 to your computer and use it in GitHub Desktop.
AudioRecorder.prepareRecordingAtPath(audioPath, {
SampleRate: 16000,
Channels: 1,
AudioQuality: "High",
AudioEncoding: "aac",
OutputFormat: "aac_adts",
AudioEncodingBitRate: 32000
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment