如何获得AudioKit从远程URL流式传输音频文件? [英] How can I get AudioKit to stream an audio file from a remote URL?

查看:162
本文介绍了如何获得AudioKit从远程URL流式传输音频文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在iOS应用中播放来自URL的音频文件(Swift 4).我希望他们在下载时进行缓冲和播放.而且我非常喜欢AudioKit,但是为了我自己的一生,我不知道如何让它读取远程文件.

I'm trying to play audio files from URLs in an iOS app (Swift 4). I'd like them to buffer and play while downloading. And I quite like AudioKit, but for the life of me and I can't figure out how to make it read remote files.

有什么建议吗?

推荐答案

您找不到它,因为它不存在.我们从未实现任何流功能.不过可以添加它,许多像您这样的人会很高兴.如果可以解决的话,请考虑贡献一些代码.如果您愿意,我们可以在开发过程中向您提供AudioKit的Slack组的成员身份.

You can't find it because its not there. We've never implemented any streaming functionality. It could be added though, and a number of people like yourself would be quite pleased. Consider contributing some code if you manage to work it out. We can offer you membership to AudioKit's Slack group during development if you wish.

这篇关于如何获得AudioKit从远程URL流式传输音频文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆