贝娄是我目前的AVRecorder设置,我想提高它的最高质量的录音。
let settings = [
AVFormatIDKey: Int(kAudioFormatMPEG4AAC),
AVSampleRateKey: 44100,
AVNumberOfChannelsKey: 2,
AVEncoderAudioQualityKey: AVAudioQuality.max.rawValue
]发布于 2017-09-29 12:27:52
改善音像录制质量改变kAudioFormatAppleLossless:formatIDKey
let settings = [
AVFormatIDKey: kAudioFormatAppleLossless,
AVSampleRateKey:44100.0,
AVNumberOfChannelsKey:2,
AVEncoderAudioQualityKey:AVAudioQuality.max.rawValue
]发布于 2017-09-25 07:17:47
试试这个..。
// this effects the quality of video
session?.sessionPreset = AVCaptureSessionPresetHigh您有更多配置AVCaptureSession.sessionPreset属性的选项,请参阅图像。

https://stackoverflow.com/questions/46399408
复制相似问题