Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8159463
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T17:55:23+00:00 2026-06-06T17:55:23+00:00

I am using a AVAudioRecorder instance to record with the setting for AVFormatIDKey set

  • 0

I am using a AVAudioRecorder instance to record with the setting for AVFormatIDKey set to kAudioFormatMPEG4AAC. It records the audio in AAC format but a .caf audio container packages the audio file. (I can see the caff header in the recorder file).
How do I record so that the caff container is not there but in pure m4a format so that I can use the files across platforms.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T17:55:24+00:00Added an answer on June 6, 2026 at 5:55 pm

    Found the answer.
    There is a weird way the AVAudioRecorder works.

    The format in which the AVAudioRecorder will save your file depends on the URL/string you specify for the file you save. It depends on the extension of the file name you are saving.

    If you don’t specify any extension or one that the recorder can’t understand then it will add the Core Audio container.
    So, basically see to that the extension and the AVFormatIDKey match.
    Like for aac use format use .aac extension with kAudioFormatMPEG4AAC as the AVFormatIDKey

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using the AVAudioRecorder class available with the 3.0 SDK to record audio
I'm using AVAudioRecorder and able to record voice of the user. But how can
I am using AVAudioRecorder to record audio and save to a wav file (using
I am using AVAudioRecorder to record sound in 'wav' format. My code works fine
I need to record audio stream with iPhone mic. I am using AVAudioRecorder from
How to record audio as an mp3 file by using AvAudiorecorder? I am using
I'm using AudioRecorder to record short audio clips but I'm getting IllegalStateException when calling
I'd like to be able to play back audio I've recorded using AVAudioRecorder @
I am developing an iPhone app which records the audio in .wav format. Here
I have a view in which I record sound using AVAudiorecorder and then it

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.