【发布时间】:2012-06-06 08:14:20
【问题描述】:
NSMutableDictionary *dictionary=[[NSMutableDictionary alloc]init];
[dictionary setValue:[NSNumber numberWithInt:kAudioFormatAppleIMA4] forKey:AVFormatIDKey];
[dictionary setValue:[NSNumber numberWithFloat:44100.0] forKey:AVSampleRateKey];
[dictionary setValue:[NSNumber numberWithInt: 2] forKey:AVNumberOfChannelsKey];
我使用AVAudioRecorder 对象获取输入,我需要将其转换为 udp 数据包。怎么做?
【问题讨论】: