我知道有很多关于这个主题的问题,但目前还没有真正的答案。我开始就该主题提出新请求。最好的答案在这里,但没有解决方案。这期间有什么可行的方法吗?
AVPlayer Live stream how to get power for audio level metering
我正在使用以下代码为我需要音频计量的那种链接播放音频流:
playerItem = [AVPlayerItem playerItemWithURL:[NSURL URLWithString:[NSString stringWithFormat:@"http://mp3stream7.apasf.apa.at:8000"]]];
player = [AVPlayer playerWithPlayerItem:playerItem];
[player play];
最佳答案
我认为这个链接对你有帮助 https://github.com/tumtumtum/StreamingKit
关于ios - AVPlayer Live stream 如何获得音频电平计量的电源,新东西?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40425205/