gpt4 book ai didi

ios - 从 HLS 的 AVPlayer 播放中捕获 PCM 数据

转载 作者:塔克拉玛干 更新时间:2023-11-02 08:37:18 24 4
gpt4 key购买 nike

我们正在尝试使用从 HLS 流捕获 PCM 数据进行处理,理想情况下是在播放之前,尽管在播放之后也是可以接受的。我们想在仍然使用 AVPlayer 的同时完成所有这些。

有人做过吗?对于非 HLS 流以及本地文件,这似乎可以使用 MPAudioProcessingTap,但不能使用 HLS。这个问题讨论了如何使用非 HLS: AVFoundation audio processing using AVPlayer's MTAudioProcessingTap with remote URLs

谢谢!

最佳答案

不幸的是,这已被证实不受支持,至少目前是这样。

来自 Apple 工程师:

The MTAudioProcessingTap is not available with HTTP live streaming. I suggest filing an enhancement if this feature is important to you - and it's usually helpful to describe the type of app you're trying to design and how this feature would be used.

来源:https://forums.developer.apple.com/thread/45966

我们最好的办法是提交增强雷达,试图让他们投入一些开发时间。我和你处在同一条不幸的船上。

关于ios - 从 HLS 的 AVPlayer 播放中捕获 PCM 数据,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27992085/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com