iPhone - AVAudioRecorder - how can I record to an mp3?

后端 未结 3 1533
慢半拍i
慢半拍i 2021-01-01 06:03

I am using the AVAudioRecorder class available with the 3.0 SDK to record audio in my app. I am successfully able to record to a caf/aiff file. But I would like to record to

3条回答
  •  余生分开走
    2021-01-01 06:16

    From all I can find on the API documentation, you can't change the encoder. The only encoder settings I could find that you can change are:

    AVEncoderAudioQualityKey;
    AVEncoderBitRateKey;
    AVEncoderBitDepthHintKey;
    

    As for transferring the file, a typical approach would be to email the file.

提交回复
热议问题