Skip to content

Instantly share code, notes, and snippets.

@criscokid
Created November 1, 2010 17:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save criscokid/658589 to your computer and use it in GitHub Desktop.
Save criscokid/658589 to your computer and use it in GitHub Desktop.
NSDictionary *recordingSettings =
[[NSDictionary alloc] initWithObjectsAndKeys:
[NSNumber numberWithFloat:8000.00], AVSampleRateKey,
[NSNumber numberWithInt:kAudioFormatiLBC], AVFormatIDKey,
[NSNumber numberWithInt:1], AVNumberOfChannelsKey,
[NSNumber numberWithInt:AVAudioQualityMax], AVEncoderAudioQualityKey,
nil];
@fb-alexcq
Copy link

Hi,
Thanks for posting your settings. It is really helpful. But the only issue is looks like it is using iLBC with 20ms frame size. Do you have any idea how to configure it to do it with 30ms frame size?
Thanks in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment