Posts

Post not yet marked as solved
0 Replies
276 Views
In iOS13, the category of AVAudioSession is first set to AVAudioSessionCategoryPlayback, and then when recording audio with AVAudioRecorder, the category is set to AVAudioSessionCategoryPlayAndRecord. At this time, the recording will not report a failure. No matter how many seconds I record, the audio file generated is only 4kb, and the length of time to calculate the audio is 0.
Posted
by longgong.
Last updated
.