下个项目需求是视频类的,就去研究一下视频,结果使用了第三方的VKPlayer,视频无法播放,Xcode出现了如下提示
2015-07-25 14:02:47.744 VKVideoPlayer[83858:3876059] 14:02:47.744 ERROR: 98: Error '!obj' trying to fetch default input device's sample rate
2015-07-25 14:02:47.745 VKVideoPlayer[83858:3876059] 14:02:47.745 ERROR: 100: Error getting audio input device sample rate: '!obj'
2015-07-25 14:02:47.745 VKVideoPlayer[83858:3876059] 14:02:47.745 WARNING: 230: The input device is 0x0; '(null)'
2015-07-25 14:02:47.745 VKVideoPlayer[83858:3876059] 14:02:47.745 WARNING: 234: The output device is 0x32; 'AppleHDAEngineOutputDP:3,0,1,1:0:{0C41-C098-0000185C}'
2015-07-25 14:02:47.745 VKVideoPlayer[83858:3876059]
经过搜索发现原来和设备有关,是使用了macMini的缘故,插上耳机,就可以正常播放了。
真的是好诡异......