我是ios新手。我在参考资料中有一个非常小的sound.aif文件,我想通过udp使用pjsip (pjsua_im_send)发送它。
我需要获取.aif文件的二进制格式才能发送它。如何读取aif并将.aif转换为二进制格式?
发布于 2014-06-04 22:01:16
iOS开发人员示例有一个方便的c++类,可以帮助您做到这一点:
https://developer.apple.com/library/ios/samplecode/iPhoneExtAudioFileConvertTest/Listings/ExtAudioFileConvert_cpp.html
https://stackoverflow.com/questions/24039434
相似问题